Database Manager - 3 -
New columns can be added to the grid by entering the information on the bottom row. Existing
columns can be deleted from the grid by right clicking the row and selecting Delete or by selecting the
row and pressing Delete on the keyboard.
With a Table Name selected, a number of table operations are provided:
• Add
Add a table to the database. When selected, the Table Name changes from a drop-down list
of tables to a text box where the new table name is entered, and the Columns grid is cleared.
Edits are not saved until Accept is pressed. Press the Refresh pushbutton to switch the
text box back to the dropdown list.
• Duplicate
Add a table to the database based on an existing table’s structure only. When selected, the
Table Name changes from a drop-down list of tables to a text box where a new table name
can be entered. The columns of the original table remain in the Columns grid as a starting
point for the new table.
• Delete
Delete the selected table in Table Name from the database.
• Preview
Open the Preview dialog to display the top 100 records stored in Table Name. If the table
has a column named DateAndTime, records are ordered by DateAndTime in descending order
(newest to oldest).
• Edit
Open the Edit dialog to display the top 100 records stored in the Table Name. Add new rows
to a table by entering the values on the edit row (last row) and clicking OK. This option
should be used with care since it will add information to the table.
• Reset
Clear all the rows from the selected table in Table Name. When selected, a confirmation of
the number of rows deleted is shown.
• Record Locking
This setting is only available for Form connectors. When this option is checked an xlrLock
column is automatically added to the table. Use this option if the table is intended for a Data
Entry Form that prevents users from editing the records once they have been locked. Once
checked this setting cannot be edited.
Table and Column Restrictions
Naming Convention
The following guidelines should be considered when dealing with databases:
• Table and column names should not begin with a number.
• Table names should not start with the letters lu.
• Table and column names cannot match the reserved words of SQL. A list of reserved words
can be found at http://msdn.microsoft.com/en-us/library/ms189822.aspx
• Table and column names should be less than 64 characters long.
• Table and column names should not contain a period (.), exclamation point (!), accent grave
(`), pipe (|), single quote (‘), double quote (“), comma (,), asterisk (*), colon (:) or square
brackets ([and]).
• Table and column names should not lead with a space.
• The column name DateAndTime is a reserved name. If you use this as a column name you
will not be able to modify or delete it once the table is created.