# i-Repo EXCEL COM Add-in での表設定

## **表設定とは**

帳票内にある表に対して「表の設定」を行うと、下記のことが可能になります。

* PLCと連携するi-Repo IoT用の帳票の設定に使用します。
  * 表の設定を行っておくとi-Repo IoT Mapping TOOLで設定が容易になります。
  * 表設定されていれば、MappingToolで１行分の設定を行い、あとは、コピーして設定することができます。
* 表形式のデーター出力に使用します。
  * Managerからの表形式のデーター出力機能、表形式の連携テーブル出力機能は次回3月のリリースになります。

<div align="left"><figure><img src="/files/L3JzQnSd4nOFpYmiNXPc" alt="" width="563"><figcaption></figcaption></figure></div>

## **表の設定方法**

【手順】

1. 表とするセルを選択しておきます。

   <div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><ul><li>行ヘッダー、列ヘッダーになる部分は選択する必要はありません。</li><li>表とするセルは全てクラスター種別の設定がされていなければなりません。</li><li>表設定を行うには、同じ列上にあるクラスターの種別は、全て同じでなくてはなりません。</li><li>同一列に対して複数の表設定をすることはできません。</li></ul></div>

   <div align="left"><figure><img src="/files/r9cZHCylyjbQO1cov4wH" alt=""><figcaption></figcaption></figure></div>

2. アドインのタブメニューから「表設定」アイコンをクリックします。

3. 表設定画面が起動します。\
   表とするセルを選択したまま、上部の「表設定」ボタンをクリックします。<br>

   <div align="left"><figure><img src="/files/VdKWMg9X4wQFWS8gZ80D" alt=""><figcaption></figcaption></figure></div>

4. 表の設定が自動で行われますので、自動設定された表情報の編集を行います。

   * **表一覧**\
     設定した表はこちらに一覧で表示されます。\
     帳票内に複数の表の設定が可能です。
   * **表番号**\
     1から自動で採番されます。変更も可能です。
   * **表名称**\
     任意の表名称を設定します。
   * **列名称**\
     表の列ヘッダーにあたる部分から自動で抽出し設定されます。任意の名称設定も可能です。
   * **列キー**\
     列キーは自動で設定されます。任意のキー設定も可能です。
   * **列型**\
     クラスター種別から自動で設定されます。
   * **行名称**\
     列名称は、表の行ヘッダーにあたる部分から自動で設定されます。任意の名称設定も可能です。<br>

   <figure><img src="/files/kpAyTn0uVcXv4I3iYeoI" alt=""><figcaption></figcaption></figure>

   <div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><ul><li>表設定を行うには、同じ列上にあるクラスターの種別は、全て同じでなくてはなりません。</li><li>同一列に対して複数の表設定をすることはできません。</li></ul></div>

   <br>

5. 「保存」ボタンをクリックして、表情報を保存します。

   <figure><img src="/files/Ki2B9GCQiyWdQKqddyiO" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manuals.i-reporter.jp/output-the-data/datacoordination-table/configuring-tables-in-addin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
