V3.0J
V3.0JV2.2JV2.1JV2JV1J

List

Listは、自由に配置されたTextBoxImageなどのデータ可視化を含む一連のセクションを生成することで、バインドされたデータを視覚化するデータ領域です。

Listコントロールは、単一のデータレコード内の項目のコレクションを表示するためにネストされたデータ領域として使用されます。たとえば、「Table内のList」デモでは、Tableデータ領域の中にListデータ領域を使用して価格履歴を表示します。

Listコントロールの追加

ツールボックスListコントロールをダブルクリックするか、デザイン面やTableなどの他のコンテナにドラッグ&ドロップすることで、Listをレポートに追加することができます。

基本的な構成設定

Listコントロールの一般的な構成設定には、共通プロパティデータ領域のプロパティのプロパティが含まれます。

主なプロパティ

Listで使用することができる主なプロパティを説明します。すべてのプロパティを表示するには、プロパティモードを[詳細プロパティを表示]にする必要があります。

データ

  • データセット: Listに関連付けるデータセットを選択します。ドロップダウンリストには、レポートのデータセットコレクションにあるすべてのデータセットが表示されます。

  • 並び替えの式: データの並べ替えを行う場合、コレクションに式を追加します。[式]ボックスに、データの並べ替えに使用する式を入力し、[方向]オプションで並べ替えの方法を「昇順」、または「降順」に設定します。

  • フィルタ: データのフィルタリングを行う場合、コレクションにフィルタを追加します。コレクションに新しいフィルタを追加するには、次の3つの値を設定する必要があります。

    • 式: フィルタリングに使用する式を入力します。

    • 演算子: フィルタリングの方法を次の演算子から選択します。

      • Equal: 一致するデータが選択されます。
      • Like: 左側の値と右側の値が同様であるデータが選択されます。Like演算子の詳細情報については、MSDNを参照してください。
      • NotEqual: 一致しないデータが選択されます。
      • GreaterThan: 指定した値より大きな値のデータが選択されます。
      • GreaterThanOrEqual: 指定した値以上のデータが選択されます。
      • LessThan: 指定した値未満のデータが選択されます。
      • LessThanOrEqual: 指定した値以下のデータが選択されます。
      • TopN: 上位N番目までのデータが選択されます。
      • BottomN: 下位N番目までのデータが選択されます。
      • TopPercent: 累積合計が指定された割合以上になる、上位のデータが選択されます。
      • BottomPercent: 累積合計が指定された割合以上になる、下位のデータが選択されます。
      • In: 指定した値のリストに含まれるデータのみが選択されます。
      • Between: 指定した2つの値の間に入るデータが選択されます。
    • 値: 選択された演算子に基づいて左側の式と比較する値を入力します。Between演算子を選択した場合、2つの値ボックスが有効になります。In演算子を選択した場合、多くの値を入力することができます。

グループ

  • 名前: まだレポートに使用されていない一意のグループの名前を入力します。

  • 式: データをグループ化するために使用する式を入力します。

  • 改ページ: リストの各インスタンスで、どの位置で改ページをするかを指定します。

    • Start: グループの前に改ページを行います。
    • End: グループの後に改ページを行います。
    • StartAndEnd: グループの前後に改ページを行います。
  • 親: 再帰的な階層のために親グループとして使用する式を入力します。

  • 見出しマップラベル: 目次(見出しマップ)にこのアイテムを表すためのラベルとして使用する式を入力します。

  • グループ毎にページ番号を設定: グループ毎に独自のページ番号セクションを構成するため、グループ毎にページ番号を出力するかどうかを設定します。

  • フィルタ: グループ化する際、特定の値を除外します。たとえば、データ領域のネストデモにて特定の企業を出力から除外するには、Publishersのリストに次のフィルタを追加します。

Group Filter

背景

  • 背景色: 背景として設定する色を選択します。

  • 画像: 背景として設定する画像を選択します。

罫線

  • 幅: 罫線の太さに設定する値をポイント単位で入力します。

  • スタイル: 罫線のスタイルを選択します。

  • 色: カラーピッカー、標準色、Webカラーから罫線の色を示すカラーを選択します。

レイアウト

  • スタイル: 利用可能なスタイルのリストから選択し、コントロールに適用するように設定します。

  • 改ページ: 改ページ設定を選択します。RDLレポートのみ有効です。

    • Start: リストの前に改ページを行います。
    • End: リストの後に改ページを行います。
    • StartAndEnd: リストの前後に改ページを行います。
  • 新規セクション: データ領域毎に独自のページ番号セクションを構成するため、データ領域毎にページ番号を出力するかどうかを設定します。

  • 1ページ内に収める: リストの途中で改ページを行うか設定します。設定し、リストが複数ページにまたがる場合は、出力前に改ページされます。RDLレポートのみ有効です。

  • 空白を埋める: 余分な空白の出力を抑制するか設定します。RDLレポートのみ有効です。

データなし

  • データが0件の場合のメッセージ: データ行がない場合、データ領域に表示するメッセージを設定します。

  • 色: カラーピッカー、標準色、Webカラーからメッセージに使用するカラーを選択します。

  • スタイル: テキストにフォントスタイルを適用します。[レイアウト][スタイル]でテーマを選択した場合、テキストが選択したテーマに応じて表示されます。以下のオプションを選択できます。

    • Normal: 選択した文字列を通常文字にします。
    • Italic: 選択した文字列を斜体にします。
  • 文字飾り: 線を使用してテキストを装飾できます。以下のオプションを選択できます。

    • Underline: テキストに下線を設定します。
    • Overline: テキストに上線を設定します。
    • LineThrough: テキストに取り消し線を設定します。
  • 表示形式: ドロップダウンリストからテキストの数値書式を選択します。

使用例

次の例では、カテゴリごとに製品情報を表示するとともに、カテゴリ名とカテゴリの説明を表示する方法を示します。

このようなレポートを作成するには、Listデータ領域にレポートコントロールをドラッグ&ドロップして配置します。同データ領域に含んでいるレポートコントロールについて、データセットのすべてのレコードが表示されます。TextBoxコントロールを使用して[CategoryName]および[Description]を表示し、Tableデータ領域を使用して各カテゴリに対応する詳細を表示します。また、Listデータ領域をグループ化するために式を使用しています。最終的には次の画像のようなレポートとなります。

メモ:この例ではレポートファイルに、以下のようなデータを埋め込み、使用します。

データソース

[
    {
        "ProductID" : 4,
        "SupplierID" : 2,
        "CategoryID" : 2,
"CategoryName": "Condiments",
            "Description": "Sweet and savory sauces, relishes, spreads, and seasonings",
        "QuantityPerUnit" : "48 - 6 oz jars",
        "UnitPrice" : 22,
        "UnitsInStock" : 53,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : false,
        "ProductName" : "Chef Anton's Cajun Seasoning"
    },
    {
        "ProductID" : 5,
        "SupplierID" : 2,
        "CategoryID" : 2,
"CategoryName": "Condiments",
            "Description": "Sweet and savory sauces, relishes, spreads, and seasonings",
        "QuantityPerUnit" : "36 boxes",
        "UnitPrice" : 21.35,
        "UnitsInStock" : 0,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : true,
        "ProductName" : "Chef Anton's Gumbo Mix"
    },
    {
        "ProductID" : 6,
        "SupplierID" : 3,
        "CategoryID" : 2,
"CategoryName": "Condiments",
            "Description": "Sweet and savory sauces, relishes, spreads, and seasonings",
        "QuantityPerUnit" : "12 - 8 oz jars",
        "UnitPrice" : 25,
        "UnitsInStock" : 120,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 25,
        "Discontinued" : false,
        "ProductName" : "Grandma's Boysenberry Spread"
    },
    {
        "ProductID" : 7,
        "SupplierID" : 3,
        "CategoryID" : 7,
"CategoryName": "Produce",
            "Description": "Dried fruit and bean curd",
        "QuantityPerUnit" : "12 - 1 lb pkgs.",
        "UnitPrice" : 30,
        "UnitsInStock" : 15,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 10,
        "Discontinued" : false,
        "ProductName" : "Uncle Bob's Organic Dried Pears"
    },
    {
        "ProductID" : 8,
        "SupplierID" : 3,
        "CategoryID" : 2,
 "CategoryName": "Condiments",
            "Description": "Sweet and savory sauces, relishes, spreads, and seasonings",
        "QuantityPerUnit" : "12 - 12 oz jars",
        "UnitPrice" : 40,
        "UnitsInStock" : 6,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : false,
        "ProductName" : "Northwoods Cranberry Sauce"
    },
    {
        "ProductID" : 9,
        "SupplierID" : 4,
        "CategoryID" : 6,
"CategoryName": "Meat/Poultry",
            "Description": "Prepared meats",
        "QuantityPerUnit" : "18 - 500 g pkgs.",
        "UnitPrice" : 97,
        "UnitsInStock" : 29,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : true,
        "ProductName" : "Mishi Kobe Niku"
    },
    {
        "ProductID" : 10,
        "SupplierID" : 4, 
        "CategoryID" : 8,
         "CategoryName": "Seafood",
            "Description": "Seaweed and fish",
        "QuantityPerUnit" : "12 - 200 ml jars",
        "UnitPrice" : 31,
        "UnitsInStock" : 31,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : false,
        "ProductName" : "Ikura"
    },
    {
        "ProductID" : 2,
        "SupplierID" : 1,
        "CategoryID" : 1,
 "CategoryName": "飲料",
            "Description": "ソフトドリンク、コーヒー、紅茶、ビール、エール",
        "QuantityPerUnit" : "24 - 12 oz bottles",
        "UnitPrice" : 19,
        "UnitsInStock" : 17,
        "UnitsOnOrder" : 40,
        "ReorderLevel" : 25,
        "Discontinued" : false,
        "ProductName" : "Chang"
    },
    {
        "ProductID" : 3,
        "SupplierID" : 1,
        "CategoryID" : 2,
 "CategoryName": "Condiments",
            "Description": "Sweet and savory sauces, relishes, spreads, and seasonings",
        "QuantityPerUnit" : "12 - 550 ml bottles",
        "UnitPrice" : 10,
        "UnitsInStock" : 13,
        "UnitsOnOrder" : 70,
        "ReorderLevel" : 25,
        "Discontinued" : false,
        "ProductName" : "Aniseed Syrup"
    },
    {
        "ProductID" : 11,
        "SupplierID" : 5,
        "CategoryID" : 4,
 "CategoryName": "乳製品",
            "Description": "チーズ",
        "QuantityPerUnit" : "1 kg pkg.",
        "UnitPrice" : 21,
        "UnitsInStock" : 22,
        "UnitsOnOrder" : 30,
        "ReorderLevel" : 30,
        "Discontinued" : false,
        "ProductName" : "Queso Cabrales"
    },
    {
        "ProductID" : 12,
        "SupplierID" : 5,
        "CategoryID" : 4,
 "CategoryName": "乳製品",
            "Description": "チーズ",
        "QuantityPerUnit" : "10 - 500 g pkgs.",
        "UnitPrice" : 38,
        "UnitsInStock" : 86,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : false,
        "ProductName" : "Queso Manchego La Pastora"
    },
    {
        "ProductID" : 13,
        "SupplierID" : 6,
        "CategoryID" : 8,
"CategoryName": "Seafood",
            "Description": "Seaweed and fish",
        "QuantityPerUnit" : "2 kg box",
        "UnitPrice" : 6,
        "UnitsInStock" : 24,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 5,
        "Discontinued" : false,
        "ProductName" : "Konbu"
    },
    {
        "ProductID" : 14,
        "SupplierID" : 6,
        "CategoryID" : 7,
"CategoryName": "Produce",
            "Description": "Dried fruit and bean curd",
        "QuantityPerUnit" : "40 - 100 g pkgs.",
        "UnitPrice" : 23.25,
        "UnitsInStock" : 35,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : false,
        "ProductName" : "Tofu"
    },
    {
        "ProductID" : 15,
        "SupplierID" : 6,
        "CategoryID" : 2,
 "CategoryName": "Condiments",
            "Description": "Sweet and savory sauces, relishes, spreads, and seasonings",
        "QuantityPerUnit" : "24 - 250 ml bottles",
        "UnitPrice" : 15.5,
        "UnitsInStock" : 39,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 5,
        "Discontinued" : false,
        "ProductName" : "Genen Shouyu"
    },
    {
        "ProductID" : 1,
        "SupplierID" : 1,
        "CategoryID" : 1,
"CategoryName": "飲料",
            "Description": "ソフトドリンク、コーヒー、紅茶、ビール、エール",
        "QuantityPerUnit" : "10 boxes x 20 bags",
        "UnitPrice" : 18,
        "UnitsInStock" : 39,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 10,
        "Discontinued" : false,
        "ProductName" : "Chai"
    },
    {
        "ProductID" : 16,
        "SupplierID" : 7,
        "CategoryID" : 3,
"CategoryName": "Confections",
            "Description": "Desserts, candies, and sweet breads",
        "QuantityPerUnit" : "32 - 500 g boxes",
        "UnitPrice" : 17.45,
        "UnitsInStock" : 29,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 10,
        "Discontinued" : false,
        "ProductName" : "Pavlova"
    },
    {
        "ProductID" : 17,
        "SupplierID" : 7,
        "CategoryID" : 6,
        "CategoryName": "Meat/Poultry",
            "Description": "Prepared meats",
        "QuantityPerUnit" : "20 - 1 kg tins",
        "UnitPrice" : 39,
        "UnitsInStock" : 0,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : true,
        "ProductName" : "Alice Mutton"
    },
    {
        "ProductID" : 18,
        "SupplierID" : 7,
        "CategoryID" : 8,
         "CategoryName": "Seafood",
            "Description": "Seaweed and fish",
        "QuantityPerUnit" : "16 kg pkg.",
        "UnitPrice" : 62.5,
        "UnitsInStock" : 42,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : false,
        "ProductName" : "Carnarvon Tigers"
    },
    {
        "ProductID" : 19,
        "SupplierID" : 8,
        "CategoryID" : 3,
        "CategoryName": "Confections",
            "Description": "Desserts, candies, and sweet breads",
        "QuantityPerUnit" : "10 boxes x 12 pieces",
        "UnitPrice" : 9.2,
        "UnitsInStock" : 25,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 5,
        "Discontinued" : false,
        "ProductName" : "Teatime Chocolate Biscuits"
    },
    {
        "ProductID" : 20,
        "SupplierID" : 8,
        "CategoryID" : 3,
        "CategoryName": "Confections",
            "Description": "Desserts, candies, and sweet breads",
        "QuantityPerUnit" : "30 gift boxes",
        "UnitPrice" : 81,
        "UnitsInStock" : 40,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : false,
        "ProductName" : "Sir Rodney's Marmalade"
    },
    {
        "ProductID" : 24,
        "SupplierID" : 10,
        "CategoryID" : 1,
        "CategoryName": "飲料",
            "Description": "ソフトドリンク、コーヒー、紅茶、ビール、エール",
        "QuantityPerUnit" : "12 - 355 ml cans",
        "UnitPrice" : 4.5,
        "UnitsInStock" : 20,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : true,
        "ProductName" : "Guaraná Fantástica"
    },
    {
        "ProductID" : 25,
        "SupplierID" : 11,
        "CategoryID" : 3,
        "CategoryName": "Confections",
            "Description": "Desserts, candies, and sweet breads",
        "QuantityPerUnit" : "20 - 450 g glasses",
        "UnitPrice" : 14,
        "UnitsInStock" : 76,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 30,
        "Discontinued" : false,
        "ProductName" : "NuNuCa Nuß-Nougat-Creme"
    },
    {
        "ProductID" : 26,
        "SupplierID" : 11,
        "CategoryID" : 3,
        "CategoryName": "Confections",
            "Description": "Desserts, candies, and sweet breads",
        "QuantityPerUnit" : "100 - 250 g bags",
        "UnitPrice" : 31.23,
        "UnitsInStock" : 15,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : false,
        "ProductName" : "Gumbär Gummibärchen"
    },
    {
        "ProductID" : 27,
        "SupplierID" : 11,
        "CategoryID" : 3,
        "CategoryName": "Confections",
            "Description": "Desserts, candies, and sweet breads",
        "QuantityPerUnit" : "100 - 100 g pieces",
        "UnitPrice" : 43.9,
        "UnitsInStock" : 49,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 30,
        "Discontinued" : false,
        "ProductName" : "Schoggi Schokolade"
    },
    {
        "ProductID" : 28,
        "SupplierID" : 12,
        "CategoryID" : 7,
"CategoryName": "Produce",
            "Description": "Dried fruit and bean curd",
        "QuantityPerUnit" : "25 - 825 g cans",
        "UnitPrice" : 45.6,
        "UnitsInStock" : 26,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : true,
        "ProductName" : "Rössle Sauerkraut"
    },
    {
        "ProductID" : 29,
        "SupplierID" : 12,
        "CategoryID" : 6,
        "CategoryName": "Meat/Poultry",
            "Description": "Prepared meats",
        "QuantityPerUnit" : "50 bags x 30 sausgs.",
        "UnitPrice" : 123.79,
        "UnitsInStock" : 0,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : true,
        "ProductName" : "Thüringer Rostbratwurst"
    },
    {
        "ProductID" : 30,
        "SupplierID" : 13,
        "CategoryID" : 8,
         "CategoryName": "Seafood",
            "Description": "Seaweed and fish",
        "QuantityPerUnit" : "10 - 200 g glasses",
        "UnitPrice" : 25.89,
        "UnitsInStock" : 10,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 15,
        "Discontinued" : false,
        "ProductName" : "Nord-Ost Matjeshering"
    },
    {
        "ProductID" : 31,
        "SupplierID" : 14,
        "CategoryID" : 4,
        "CategoryName": "乳製品",
            "Description": "チーズ",
        "QuantityPerUnit" : "12 - 100 g pkgs",
        "UnitPrice" : 12.5,
        "UnitsInStock" : 0,
        "UnitsOnOrder" : 70,
        "ReorderLevel" : 20,
        "Discontinued" : false,
        "ProductName" : "Gorgonzola Telino"
    },
    {
        "ProductID" : 32,
        "SupplierID" : 14,
        "CategoryID" : 4,
        "CategoryName": "乳製品",
            "Description": "チーズ",
        "QuantityPerUnit" : "24 - 200 g pkgs.",
        "UnitPrice" : 32,
        "UnitsInStock" : 9,
        "UnitsOnOrder" : 40,
        "ReorderLevel" : 25,
        "Discontinued" : false,
        "ProductName" : "Mascarpone Fabioli"
    },
    {
        "ProductID" : 33,
        "SupplierID" : 15,
        "CategoryID" : 4,
        "CategoryName": "乳製品",
            "Description": "チーズ",
        "QuantityPerUnit" : "500 g",
        "UnitPrice" : 2.5,
        "UnitsInStock" : 112,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 20,
        "Discontinued" : false,
        "ProductName" : "Geitost"
    },
    {
        "ProductID" : 34,
        "SupplierID" : 16,
        "CategoryID" : 1,
        "CategoryName": "飲料",
            "Description": "ソフトドリンク、コーヒー、紅茶、ビール、エール",
        "QuantityPerUnit" : "24 - 12 oz bottles",
        "UnitPrice" : 14,
        "UnitsInStock" : 111,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 15,
        "Discontinued" : false,
        "ProductName" : "Sasquatch Ale"
    },
    {
        "ProductID" : 22,
        "SupplierID" : 9,
        "CategoryID" : 5,
        "CategoryName": "Grains/Cereals",
            "Description": "Breads, crackers, pasta, and cereal",
        "QuantityPerUnit" : "24 - 500 g pkgs.",
        "UnitPrice" : 21,
        "UnitsInStock" : 104,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 25,
        "Discontinued" : false,
        "ProductName" : "Gustaf's Knäckebröd"
    },
    {
        "ProductID" : 21,
        "SupplierID" : 8,
        "CategoryID" : 3,
        "CategoryName": "Confections",
            "Description": "Desserts, candies, and sweet breads",
        "QuantityPerUnit" : "24 pkgs. x 4 pieces",
        "UnitPrice" : 10,
        "UnitsInStock" : 3,
        "UnitsOnOrder" : 40,
        "ReorderLevel" : 5,
        "Discontinued" : false,
        "ProductName" : "Sir Rodney's Scones"
    },
    {
        "ProductID" : 35,
        "SupplierID" : 16,
        "CategoryID" : 1,
        "CategoryName": "Beverages",
            "Description": "Soft drinks, coffees, teas, beers, and ales",
        "QuantityPerUnit" : "24 - 12 oz bottles",
        "UnitPrice" : 18,
        "UnitsInStock" : 20,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 15,
        "Discontinued" : false,
        "ProductName" : "Steeleye Stout"
    },
    {
        "ProductID" : 23,
        "SupplierID" : 9,
        "CategoryID" : 5,
        "CategoryName": "Grains/Cereals",
            "Description": "Breads, crackers, pasta, and cereal",
        "QuantityPerUnit" : "12 - 250 g pkgs.",
        "UnitPrice" : 9,
        "UnitsInStock" : 61,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 25,
        "Discontinued" : false,
        "ProductName" : "Tunnbröd"
    },
    {
        "ProductID" : 37,
        "SupplierID" : 17,
        "CategoryID" : 8,
         "CategoryName": "Seafood",
            "Description": "Seaweed and fish",
        "QuantityPerUnit" : "12 - 500 g pkgs.",
        "UnitPrice" : 26,
        "UnitsInStock" : 11,
        "UnitsOnOrder" : 50,
        "ReorderLevel" : 25,
        "Discontinued" : false,
        "ProductName" : "Gravad lax"
    },
    {
        "ProductID" : 40,
        "SupplierID" : 19,
        "CategoryID" : 8,
         "CategoryName": "Seafood",
            "Description": "Seaweed and fish",
        "QuantityPerUnit" : "24 - 4 oz tins",
        "UnitPrice" : 18.4,
        "UnitsInStock" : 123,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 30,
        "Discontinued" : false,
        "ProductName" : "Boston Crab Meat"
    },
    {
        "ProductID" : 38,
        "SupplierID" : 18,
        "CategoryID" : 1,
        "CategoryName": "Beverages",
            "Description": "Soft drinks, coffees, teas, beers, and ales",
        "QuantityPerUnit" : "12 - 75 cl bottles",
        "UnitPrice" : 263.5,
        "UnitsInStock" : 17,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 15,
        "Discontinued" : false,
        "ProductName" : "Côte de Blaye"
    },
    {
        "ProductID" : 36,
        "SupplierID" : 17,
        "CategoryID" : 8,
         "CategoryName": "Seafood",
            "Description": "Seaweed and fish",
        "QuantityPerUnit" : "24 - 250 g  jars",
        "UnitPrice" : 19,
        "UnitsInStock" : 112,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 20,
        "Discontinued" : false,
        "ProductName" : "Inlagd Sill"
    },
    {
        "ProductID" : 41,
        "SupplierID" : 19,
        "CategoryID" : 8,
         "CategoryName": "Seafood",
            "Description": "Seaweed and fish",
        "QuantityPerUnit" : "12 - 12 oz cans",
        "UnitPrice" : 9.65,
        "UnitsInStock" : 85,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 10,
        "Discontinued" : false,
        "ProductName" : "Jack's New England Clam Chowder"
    },
    {
        "ProductID" : 43,
        "SupplierID" : 20,
        "CategoryID" : 1,
        "CategoryName": "Beverages",
            "Description": "Soft drinks, coffees, teas, beers, and ales",
        "QuantityPerUnit" : "16 - 500 g tins",
        "UnitPrice" : 46,
        "UnitsInStock" : 17,
        "UnitsOnOrder" : 10,
        "ReorderLevel" : 25,
        "Discontinued" : false,
        "ProductName" : "Ipoh Coffee"
    },
    {
        "ProductID" : 42,
        "SupplierID" : 20,
        "CategoryID" : 5,
        "CategoryName": "Grains/Cereals",
            "Description": "Breads, crackers, pasta, and cereal",
        "QuantityPerUnit" : "32 - 1 kg pkgs.",
        "UnitPrice" : 14,
        "UnitsInStock" : 26,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : true,
        "ProductName" : "Singaporean Hokkien Fried Mee"
    },
    {
        "ProductID" : 46,
        "SupplierID" : 21,
        "CategoryID" : 8,
         "CategoryName": "Seafood",
            "Description": "Seaweed and fish",
        "QuantityPerUnit" : "4 - 450 g glasses",
        "UnitPrice" : 12,
        "UnitsInStock" : 95,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : false,
        "ProductName" : "Spegesild"
    },
    {
        "ProductID" : 47,
        "SupplierID" : 22,
        "CategoryID" : 3,
        "CategoryName": "Confections",
            "Description": "Desserts, candies, and sweet breads",
        "QuantityPerUnit" : "10 - 4 oz boxes",
        "UnitPrice" : 9.5,
        "UnitsInStock" : 36,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : false,
        "ProductName" : "Zaanse koeken"
    },
    {
        "ProductID" : 48,
        "SupplierID" : 22,
        "CategoryID" : 3,
        "CategoryName": "Confections",
            "Description": "Desserts, candies, and sweet breads",
        "QuantityPerUnit" : "10 pkgs.",
        "UnitPrice" : 12.75,
        "UnitsInStock" : 15,
        "UnitsOnOrder" : 70,
        "ReorderLevel" : 25,
        "Discontinued" : false,
        "ProductName" : "Chocolade"
    },
    {
        "ProductID" : 49,
        "SupplierID" : 23,
        "CategoryID" : 3,
        "CategoryName": "Confections",
            "Description": "Desserts, candies, and sweet breads",
        "QuantityPerUnit" : "24 - 50 g pkgs.",
        "UnitPrice" : 20,
        "UnitsInStock" : 10,
        "UnitsOnOrder" : 60,
        "ReorderLevel" : 15,
        "Discontinued" : false,
        "ProductName" : "Maxilaku"
    },
    {
        "ProductID" : 50,
        "SupplierID" : 23,
        "CategoryID" : 3,
        "CategoryName": "Confections",
            "Description": "Desserts, candies, and sweet breads",
        "QuantityPerUnit" : "12 - 100 g bars",
        "UnitPrice" : 16.25,
        "UnitsInStock" : 65,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 30,
        "Discontinued" : false,
        "ProductName" : "Valkoinen suklaa"
    },
    {
        "ProductID" : 51,
        "SupplierID" : 24,
        "CategoryID" : 7,
"CategoryName": "Produce",
            "Description": "Dried fruit and bean curd",
        "QuantityPerUnit" : "50 - 300 g pkgs.",
        "UnitPrice" : 53,
        "UnitsInStock" : 20,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 10,
        "Discontinued" : false,
        "ProductName" : "Manjimup Dried Apples"
    },
    {
        "ProductID" : 52,
        "SupplierID" : 24,
        "CategoryID" : 5,
        "CategoryName": "Grains/Cereals",
            "Description": "Breads, crackers, pasta, and cereal",
        "QuantityPerUnit" : "16 - 2 kg boxes",
        "UnitPrice" : 7,
        "UnitsInStock" : 38,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 25,
        "Discontinued" : false,
        "ProductName" : "Filo Mix"
    },
    {
        "ProductID" : 53,
        "SupplierID" : 24,
        "CategoryID" : 6,
        "CategoryName": "Meat/Poultry",
            "Description": "Prepared meats",
        "QuantityPerUnit" : "48 pieces",
        "UnitPrice" : 32.8,
        "UnitsInStock" : 0,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : true,
        "ProductName" : "Perth Pasties"
    },
    {
        "ProductID" : 54,
        "SupplierID" : 25,
        "CategoryID" : 6,
        "CategoryName": "Meat/Poultry",
            "Description": "Prepared meats",
        "QuantityPerUnit" : "16 pies",
        "UnitPrice" : 7.45,
        "UnitsInStock" : 21,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 10,
        "Discontinued" : false,
        "ProductName" : "Tourtière"
    },
    {
        "ProductID" : 55,
        "SupplierID" : 25,
        "CategoryID" : 6,
        "CategoryName": "Meat/Poultry",
            "Description": "Prepared meats",
        "QuantityPerUnit" : "24 boxes x 2 pies",
        "UnitPrice" : 24,
        "UnitsInStock" : 115,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 20,
        "Discontinued" : false,
        "ProductName" : "Pâté chinois"
    },
    {
        "ProductID" : 56,
        "SupplierID" : 26,
        "CategoryID" : 5,
        "CategoryName": "Grains/Cereals",
            "Description": "Breads, crackers, pasta, and cereal",
        "QuantityPerUnit" : "24 - 250 g pkgs.",
        "UnitPrice" : 38,
        "UnitsInStock" : 21,
        "UnitsOnOrder" : 10,
        "ReorderLevel" : 30,
        "Discontinued" : false,
        "ProductName" : "Gnocchi di nonna Alice"
    },
    {
        "ProductID" : 57,
        "SupplierID" : 26,
        "CategoryID" : 5,
        "CategoryName": "Grains/Cereals",
            "Description": "Breads, crackers, pasta, and cereal",
        "QuantityPerUnit" : "24 - 250 g pkgs.",
        "UnitPrice" : 19.5,
        "UnitsInStock" : 36,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 20,
        "Discontinued" : false,
        "ProductName" : "Ravioli Angelo"
    },
    {
        "ProductID" : 44,
        "SupplierID" : 20,
        "CategoryID" : 2,
        "CategoryName": "Condiments",
            "Description": "Sweet and savory sauces, relishes, spreads, and seasonings",
        "QuantityPerUnit" : "20 - 2 kg bags",
        "UnitPrice" : 19.45,
        "UnitsInStock" : 27,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 15,
        "Discontinued" : false,
        "ProductName" : "Gula Malacca"
    },
    {
        "ProductID" : 39,
        "SupplierID" : 18,
        "CategoryID" : 1,
        "CategoryName": "Beverages",
            "Description": "Soft drinks, coffees, teas, beers, and ales",
        "QuantityPerUnit" : "750 cc per bottle",
        "UnitPrice" : 18,
        "UnitsInStock" : 69,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 5,
        "Discontinued" : false,
        "ProductName" : "Chartreuse verte"
    },
    {
        "ProductID" : 59,
        "SupplierID" : 28,
        "CategoryID" : 4,
        "CategoryName": "Dairy Products",
            "Description": "Cheeses",
        "QuantityPerUnit" : "5 kg pkg.",
        "UnitPrice" : 55,
        "UnitsInStock" : 79,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : false,
        "ProductName" : "Raclette Courdavault"
    },
    {
        "ProductID" : 60,
        "SupplierID" : 28,
        "CategoryID" : 4,
        "CategoryName": "Dairy Products",
            "Description": "Cheeses",
        "QuantityPerUnit" : "15 - 300 g rounds",
        "UnitPrice" : 34,
        "UnitsInStock" : 19,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : false,
        "ProductName" : "Camembert Pierrot"
    },
    {
        "ProductID" : 45,
        "SupplierID" : 21,
        "CategoryID" : 8,
         "CategoryName": "Seafood",
            "Description": "Seaweed and fish",
        "QuantityPerUnit" : "1k pkg.",
        "UnitPrice" : 9.5,
        "UnitsInStock" : 5,
        "UnitsOnOrder" : 70,
        "ReorderLevel" : 15,
        "Discontinued" : false,
        "ProductName" : "Rogede sild"
    },
    {
        "ProductID" : 58,
        "SupplierID" : 27,
        "CategoryID" : 8,
         "CategoryName": "Seafood",
            "Description": "Seaweed and fish",
        "QuantityPerUnit" : "24 pieces",
        "UnitPrice" : 13.25,
        "UnitsInStock" : 62,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 20,
        "Discontinued" : false,
        "ProductName" : "Escargots de Bourgogne"
    },
    {
        "ProductID" : 61,
        "SupplierID" : 29,
        "CategoryID" : 2,
        "CategoryName": "Condiments",
            "Description": "Sweet and savory sauces, relishes, spreads, and seasonings",
        "QuantityPerUnit" : "24 - 500 ml bottles",
        "UnitPrice" : 28.5,
        "UnitsInStock" : 113,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 25,
        "Discontinued" : false,
        "ProductName" : "Sirop d'érable"
    },
    {
        "ProductID" : 62,
        "SupplierID" : 29,
        "CategoryID" : 3,
        "CategoryName": "Confections",
            "Description": "Desserts, candies, and sweet breads",
        "QuantityPerUnit" : "48 pies",
        "UnitPrice" : 49.3,
        "UnitsInStock" : 17,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : false,
        "ProductName" : "Tarte au sucre"
    },
    {
        "ProductID" : 63,
        "SupplierID" : 7,
        "CategoryID" : 2,
        "CategoryName": "Condiments",
            "Description": "Sweet and savory sauces, relishes, spreads, and seasonings",
        "QuantityPerUnit" : "15 - 625 g jars",
        "UnitPrice" : 43.9,
        "UnitsInStock" : 24,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 5,
        "Discontinued" : false,
        "ProductName" : "Vegie-spread"
    },
    {
        "ProductID" : 64,
        "SupplierID" : 12,
        "CategoryID" : 5,
        "CategoryName": "Grains/Cereals",
            "Description": "Breads, crackers, pasta, and cereal",
        "QuantityPerUnit" : "20 bags x 4 pieces",
        "UnitPrice" : 33.25,
        "UnitsInStock" : 22,
        "UnitsOnOrder" : 80,
        "ReorderLevel" : 30,
        "Discontinued" : false,
        "ProductName" : "Wimmers gute Semmelknödel"
    },
    {
        "ProductID" : 65,
        "SupplierID" : 2,
        "CategoryID" : 2,
        "CategoryName": "Condiments",
            "Description": "Sweet and savory sauces, relishes, spreads, and seasonings",
        "QuantityPerUnit" : "32 - 8 oz bottles",
        "UnitPrice" : 21.05,
        "UnitsInStock" : 76,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : false,
        "ProductName" : "Louisiana Fiery Hot Pepper Sauce"
    },
    {
        "ProductID" : 66,
        "SupplierID" : 2,
        "CategoryID" : 2,
        "CategoryName": "Condiments",
            "Description": "Sweet and savory sauces, relishes, spreads, and seasonings",
        "QuantityPerUnit" : "24 - 8 oz jars",
        "UnitPrice" : 17,
        "UnitsInStock" : 4,
        "UnitsOnOrder" : 100,
        "ReorderLevel" : 20,
        "Discontinued" : false,
        "ProductName" : "Louisiana Hot Spiced Okra"
    },
    {
        "ProductID" : 67,
        "SupplierID" : 16,
        "CategoryID" : 1,
        "CategoryName": "Beverages",
            "Description": "Soft drinks, coffees, teas, beers, and ales",
        "QuantityPerUnit" : "24 - 12 oz bottles",
        "UnitPrice" : 14,
        "UnitsInStock" : 52,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 10,
        "Discontinued" : false,
        "ProductName" : "Laughing Lumberjack Lager"
    },
    {
        "ProductID" : 68,
        "SupplierID" : 8,
        "CategoryID" : 3,
        "CategoryName": "Confections",
            "Description": "Desserts, candies, and sweet breads",
        "QuantityPerUnit" : "10 boxes x 8 pieces",
        "UnitPrice" : 12.5,
        "UnitsInStock" : 6,
        "UnitsOnOrder" : 10,
        "ReorderLevel" : 15,
        "Discontinued" : false,
        "ProductName" : "Scottish Longbreads"
    },
    {
        "ProductID" : 70,
        "SupplierID" : 7,
        "CategoryID" : 1,
        "CategoryName": "Beverages",
            "Description": "Soft drinks, coffees, teas, beers, and ales",
        "QuantityPerUnit" : "24 - 355 ml bottles",
        "UnitPrice" : 15,
        "UnitsInStock" : 15,
        "UnitsOnOrder" : 10,
        "ReorderLevel" : 30,
        "Discontinued" : false,
        "ProductName" : "Outback Lager"
    },
    {
        "ProductID" : 71,
        "SupplierID" : 15,
        "CategoryID" : 4,
        "CategoryName": "Dairy Products",
            "Description": "Cheeses",
        "QuantityPerUnit" : "10 - 500 g pkgs.",
        "UnitPrice" : 21.5,
        "UnitsInStock" : 26,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : false,
        "ProductName" : "Flotemysost"
    },
    {
        "ProductID" : 73,
        "SupplierID" : 17,
        "CategoryID" : 8,
         "CategoryName": "Seafood",
            "Description": "Seaweed and fish",
        "QuantityPerUnit" : "24 - 150 g jars",
        "UnitPrice" : 15,
        "UnitsInStock" : 101,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 5,
        "Discontinued" : false,
        "ProductName" : "Röd Kaviar"
    },
    {
        "ProductID" : 74,
        "SupplierID" : 4,
        "CategoryID" : 7,
"CategoryName": "Produce",
            "Description": "Dried fruit and bean curd",
        "QuantityPerUnit" : "5 kg pkg.",
        "UnitPrice" : 10,
        "UnitsInStock" : 4,
        "UnitsOnOrder" : 20,
        "ReorderLevel" : 5,
        "Discontinued" : false,
        "ProductName" : "Longlife Tofu"
    },
    {
        "ProductID" : 75,
        "SupplierID" : 12,
        "CategoryID" : 1,
        "CategoryName": "Beverages",
            "Description": "Soft drinks, coffees, teas, beers, and ales",
        "QuantityPerUnit" : "24 - 0.5 l bottles",
        "UnitPrice" : 7.75,
        "UnitsInStock" : 125,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 25,
        "Discontinued" : false,
        "ProductName" : "Rhönbräu Klosterbier"
    },
    {
        "ProductID" : 76,
        "SupplierID" : 23,
        "CategoryID" : 1,
        "CategoryName": "Beverages",
            "Description": "Soft drinks, coffees, teas, beers, and ales",
        "QuantityPerUnit" : "500 ml",
        "UnitPrice" : 18,
        "UnitsInStock" : 57,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 20,
        "Discontinued" : false,
        "ProductName" : "Lakkalikööri"
    },
    {
        "ProductID" : 69,
        "SupplierID" : 15,
        "CategoryID" : 4,
        "CategoryName": "Dairy Products",
            "Description": "Cheeses",
        "QuantityPerUnit" : "10 kg pkg.",
        "UnitPrice" : 36,
        "UnitsInStock" : 26,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 15,
        "Discontinued" : false,
        "ProductName" : "Gudbrandsdalsost"
    },
    {
        "ProductID" : 72,
        "SupplierID" : 14,
        "CategoryID" : 4,
        "CategoryName": "Dairy Products",
            "Description": "Cheeses",
        "QuantityPerUnit" : "24 - 200 g pkgs.",
        "UnitPrice" : 34.8,
        "UnitsInStock" : 14,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 0,
        "Discontinued" : false,
        "ProductName" : "Mozzarella di Giovanni"
    },
    {
        "ProductID" : 77,
        "SupplierID" : 12,
        "CategoryID" : 2,
        "CategoryName": "Condiments",
            "Description": "Sweet and savory sauces, relishes, spreads, and seasonings",
        "QuantityPerUnit" : "12 boxes",
        "UnitPrice" : 13,
        "UnitsInStock" : 32,
        "UnitsOnOrder" : 0,
        "ReorderLevel" : 15,
        "Discontinued" : false,
        "ProductName" : "Original Frankfurter grüne Soße"
    }
]

  1. ページレポートを作成し、レポートのデザイン面上にListデータ領域をドラッグ&ドロップして、そのサイズを調整します。また、次のプロパティを設定します。

    • 高さ
    • 固定の幅
    • 固定の高さ
  2. Listデータ領域にTableデータ領域をドラッグ&ドロップします。

  3. Tableデータ領域の詳細行に製品に関する情報を表示するために、各テキストボックスをそれぞれ[ProductName][UnitPrice]、および[ProductID]のフィールドにバインドします。

  4. TextBoxコントロールをテーブルの上にドラッグ&ドロップし、[CategoryName]フィールドにバインドします。

  5. 別のTextBoxコントロールをテーブルの上にドラッグ&ドロップし、[Description]フィールドにバインドします。 レポートをプレビューすると、3つのレポートコントロールがすべて繰り返され、レポートを読むのが難しくなります。

  6. グループ化するカテゴリごとに製品情報を表示するには、式を追加する必要があります。[CategoryName]フィールドは各カテゴリの一意の値であるため、データをグループ化するために使用します。

    1. Listデータ領域を選択し、[グループ]セクションの[式]プロパティに移動します。
    2. [項目の表示]をクリックし、[+ 項目の追加]を選択します。表示されるボックスに「=Fields!CategoryName.Value」式を入力します。
  7. 次に、レポートの各ページにページ番号を追加します。TextBoxコントロールをページの下部(Listデータ領域の外側)にドラッグ&ドロップします。[値]プロパティを「="Page " & Globals!PageNumber & " of " & Globals!TotalPages」に設定します。

  8. レポートに配置する各コントロールのサイズや位置を調整して、レポートの外観をカスタマイズします。   

  9. レポートをプレビューします。