To continue with this content, please log in with your Data Access ID or create a new account.
Cancel Data Access ID
You may not be authorized to see this content. Please contact Data Access Europe for more information.
Cancel Data Access Europe
You are not authorized to see this content.
Cancel Data Access Europe
Next lesson:
The Source Editor
Cancel

DataFlex - Studio Tour

Lesson 4: Table Explorer

The next thing we are going to be looking at, is the table explorer. 

  1. Open the table explorer using the ‘view’ menu and click on ‘Table Explorer’.

  2. The table explorer is a panel that is usually on the left side of the studio and it shows all the tables that are part of a file list, basically the tables that are part of a workspace.

  3. Clicking on the table “BucketItem” expands it and shows more information like: Columns, indexes, relationships and connection.

  4. In this case it is an embedded DataFlex table, so the connections show that the driver is DataFlex.

  5. If it would be a SQL table it would show information about the SQL server and how it’s connecting to that server.
  6. Double click on the table, this opens up the table editor. The table editor shows the columns of the table, the data types and it allows the change of columns.

  7. Scrolling down will show the different indexes that are available on this table. The indexes are the different ways of sorting this table. An index is a combination of fields that determines the sort order.

  8. Right click on the table and press ‘View Table’, this shows the data in the table.

  9. This shows a list of the records that are in the table and you can also edit the records directly here by clicking the ‘Toggle Edit data’.


  10. By double clicking on a column you can edit it.
  11. Each table usually has a data dictionary, it can have more data dictionaries but in this case it’s a single data dictionary.
  12. Expanding the data dictionary section in the table explorer shows a single data dictionary.

  13. Open thet data dictionary to open the data dictionary editor that shows the settings for the different columns of this table.

  14. For this case the title column is required. In the list ‘Data Entry Options’ ‘Required’ is ‘True’ is selected. This can be changed directly here.

  15. A table can also have ‘Validation Objects’ and ‘Structures’. ‘Structures’ tells which other tables are required for saving this table. In this case it only shows the system table, which it needs for its auto numeric field.

  16. From the data dictionary editor go into the source mode by pressing F7, to see the source code of this data dictionary. This is the source code for this data dictionary. Within DataFlex a data dictionary is simply a class within the language.