テーブルコントロールに関する特別なヒント

レコード内容の表示には、テーブルコントロールを使用できます。このコントロールを使うと、データベースフォーム同様に、表示するデータフィールドの定義およびデータの編集が行えます。

テーブルコントロールに存在する可能性のあるフィールドは、テキスト、日付、時刻、通貨のフィールド、数値フィールド、パターンフィールド、チェックボックス、およびコンボボックスです。 日付と時刻の組み合わせフィールドの場合、自動的に 2 つの列が作成されます。

行を選択した場合、レコード総数の背景に、括弧付きで選択した行の数が表示されます。

テーブルコントロールに列を追加するには、列の上端行をクリックしてコンテキストメニューを開きます。ここでは下記のコマンドが使用できます。

列の挿入

サブメニューが表示され、テーブルコントロールに追加するデータフィールドを選択できます。

ドラッグ&ドロップを使ってテーブルコントロールを設定します。データソースを表示して、希望のフィールドをデータソースからテーブルコントロールの列の見出しへドラッグします。これで設定済みの列が作成されました。

置換テキスト

サブメニューが表示され、テーブルコントロールで選択したデータフィールドと置き換えるデータフィールドを選択できます。

列の削除

現在選択している列を削除します。

列...

選択した列の属性ダイアログを開きます。

列の非表示

選択した列を非表示にします。 この操作で属性は変更されません。

列の表示

Calls a submenu where you can select the columns to show again. To show only one column, click the column name. You see only the first 16 hidden columns. If there are more hidden columns, choose the More command to call the Show Columns dialog.

複数

列の表示 ダイアログを呼び出します。

In the Show Columns dialog you can select the columns to be shown. Hold down the Shift or key to select multiple entries.

すべて

Click All if you want to show all columns.

Keyboard-only control of Table Controls

If you use the keyboard only to travel through controls in your document, you will find one difference to the other types of controls: the Tab key does not move the cursor to the next control, but moves to the next column inside the table control. Press +Tab to move to the next control, or press Shift++Tab to move to the previous control.

To enter the special keyboard-only edit mode for Table Controls:

The form document must be in Design mode.

  1. Press +F6 to select the document.

  2. Press Shift+F4 to select the first control. If the Table Control is not the first control, press Tab until it is selected.

  3. Press Enter to enter the edit mode. The handles are shown farther out from the control border.

  4. In the edit mode, you can open the edit mode context menu by pressing Shift+F10.

  5. If you want to edit columns, press Shift+Space to enter column edit mode. Now you can rearrange the order of columns with +Arrow keys. The Delete key deletes the current column.

  6. Press the Esc key to exit the edit mode.

ご支援をお願いします!