Table Design

In the Table Design window you define new tables or edit the structure of a table.

To access this command...

In a database file window, click the Tables icon. Choose Insert - Table Design or Edit - Edit


Database Overview

Table Design

The window has its own menu bar. It also contains the following new command: Index Design

Table definition area

This area is where you define the table structure.

Field Name

Specifies the name of the data field. Note the database restrictions, such as the length of the name, special characters and spaces.

Field type

Specifies the field type.

විස්තරය

Specifies an optional description.

The row headers contain the following context menu commands:

Cut

Cuts the selected row to the clipboard.

පිටපත් කරන්න

Copies the selected row to the clipboard.

අලවන්න

Pastes the content of the clipboard.

මකන්න

Deletes the selected row.

පේළි ඇතුළු කරන්න

Inserts an empty row above the current row, if the table has not been saved. Inserts an empty row at the end of the table if the table has been saved.

Primary Key

If this command has a check mark, the data field in this line is a primary key. By clicking the command you activate/deactivate the status. The command is only visible if the data source supports primary keys.

Field properties

Defines the field properties of the currently selected field.

Length

Specifies the length of the data field.

Decimal places

Specifies the number of decimal places for a numerical field or decimal field.

Default value

Specifies the value that is the default in new data records.

Format example

Displays the format code that you can select with the ... button.

...

This button opens the Field Format dialog.

Help area

Displays help texts.