To Create a New Database
- On the File menu, click New Database.
-
In the displayed Add Table dialog box, enter the name of the first table.
Optionally, you can choose to import that new table from another existing file/database in any of the supported file formats.
To add other tables or folders later, use the File > New commands.
- If this is a new empty table, you'll be prompted to add at least one field.
To add other fields later, use the Database > Insert Field and Database > Append Field commands. -
Using date/time fields:
Any Text field containing (as shown below) generic date/time strings can be used as a date/time field.
This standard/generic format is required by all built-in date/time functions (except for datevalue() and timevalue()) and ensures proper sorting.
To display and enter dates/times in the local system format and to display the calendar control (see Settings > Options > Editing > Use date picker when editing dates), set the desired "date" or "time" style for such a Text field.
Text fields containing non-generic dates/times should be converted with the Edit > Convert Field Data > Text To Standard Date String command prior to setting the "date" style.
Field Types Available in GS-Base
| Type | Examples | Comments |
|---|---|---|
| Numeric |
123 -123 123.09 1.23e+02 |
The actual decimal and thousand separators depend on your system regional settings and the current Settings > Locales menu selection.
Max. positive value: 1.8+308 |
| Text |
Dog short text 1 2 3 11:34:30 PM 7/20/2007 P1Y2M3DT10H30M50S.000 -P120D |
Any text containing up to 8169 bytes (*). When entering date/time and time period values, you must use one of the two string forms: |
| Long Text |
Any text of any size. By default the text is saved in the Rich Text (*.rtf) format and can contain any supported formatting and inserted graphics or objects. Right-click the field to display the context menu and available editing commands and options. To save only plain text (which may result in smaller files and/or faster loading/saving if there are a lot of entries of that type), change the corresponding option in the Settings > Options dialog. |
|
| Images/Files |
Any number of images or any other files. Files other than *.jpeg, *.png, and *.bmp are represented
as icons associated with their file extensions. If you insert some link *.lnk files linking to some disk files and if you later change the location of those target files, you can specify the new shortcut path globally in the Settings > Options dialog. Right-click or double-click a given object to display the context menu and available editing commands and options. |
|
| Code |
Any text of any size. The type/language of code is determined by the Subfield selection in the Field Setup dialog box. The code editor uses line numbering and syntax coloring based on the Scintilla (c) project. |
(*) - The maximum number of bytes refers to the UTF-8 string representation. In practice, for users using Latin characters this value equals the number of characters; however, for example, characters in far-eastern languages require a few-byte UTF-8 sequence, hence the character limitation will be smaller.