Data / Tables Pad

Top  Previous  Next

The Data / Tables Pad (DTP) is a special pad that displays the contents of an active dictionary and other application data elements (Global, Module, and Local). This pad is available when either the Dictionary Editor or Application Generator is opened.

Tables and application data is displayed and maintained from a single source pad. Press the F12 key at any time to open (or bring focus to) the DTP in the IDE. Buttons at the top of the DTP lists allow you to add, modify, or remove data elements where appropriate. There are also Expand All /Contract All buttons available.

When the Application Editor is active, data in the DTP that is disabled indicates that the global data source is from the global pool of the active dictionary, and may not be deleted.

In the Window and Report Designers, drag a field (column) from the DTP to the window or report area for \quick population, or  use the Populate Columns and Populate Multiple Columns dialogs from the main menu
(Window Designer->Populate)

 

If you double click on a file, field, or key in the data pad while a text editor is open, the appropriate label will be pasted into the text editor.
  

You can also view the Data Pad from the Dictionary Editor as an alternative view of your dictionary schema.

To change the display options of the Data/Tables Pad, see the Dictionary Options dialog. (From the IDE Menu, Tools > Options > Clarion > Dictionary Editor Options).

Folders marked with the letter D identify data defined in the application’s referenced dictionary. Folders marked with the letter T identify data defined in the application’s referenced dictionary. In either case these data types cannot be edited in the Data Tables Pad.

 

Right Click Menu

Don’t forget the right click popup menu. In addition to the items already mentioned above, the following choices are available:

Add Column

Use this option to add a new data element.

Cut

Copies the data element to the clipboard, and on Paste, removes the data element from the Explorer list.

Copy

Copies the data element to the clipboard, and on Paste, does not remove the data element from the Explorer list. Use this option to copy/paste within the DTP, or copy just the label for pasting into the source code editor. This functionality is exactly the equivalent to drag/drop from DTP to editor.

Copy Details

Copies the full textual data element to the clipboard. Useful for pasting into custom source. This option is for a copy/paste action to the editor when you need the "details", which means the label and data type.

If you have both Clarion.NET and Clarion for Windows in the same IDE, the "Copy Details" context menu for files and fields now turns into a menu with 2 submenus "using Clarion for Windows" and "using Clarion#".

Paste

Retrieves the DCT information from the clipboard.

Delete

Removes the selected data element.

Properties

Opens the data element properties dialog for examination and change.