A Table is an object to define and store data. It is a datasheet collection of fields (columns) and records (rows), the cells (intersections) of which are used to define and store instances about a particular subject. Tables are usually prefixed with tbl.

Tables can have a Primary Key to make each record unique. Tables can utilize Indexes to speed data retrieval.

Fields in a table can utilize Lookup Properties to facilitate the lookup of frequently entered items.

It is good practice to run the Compact Database utility under the Tools menu in the Database Utilities selection.

Tables are said to be Joined into Relationships.

Importing, Linking, and Exporting

You can import from, link to, and export as Access, dBASE, Paradox, FoxPro, SQL-ODBC, spreadsheet (eg Lotus 1-2-3 or Excel), and text files.

Text files should be delimited (i.e. usually with commas, tabs, semicolons, or spaces) or fixed-width (i.e. each field occupies the same number of spaces in each record). In delimited file, fields with text strings should be enclosed with a qualifier such as double quotes. If there are qualifiers within the text string, then those qualifiers should be enclosed within another qualifier such as single quotes.

Reasons for importing another database file:

Reasons for linking to another database file:

Fields

Fields are chosen from Tables or are calculated from other fields by using Zoom to manually make the expression, or by using the Expression Builder utility. Field Properties set in Queries override the Field Properties from the Field's source.

Field names can be up to 64 characters, including spaces ( ) and most symbols except for periods (.), exclamation marks (!), square brackets ( [ ] ), or the back quote (`). The use of spaces is not recommended if you ever expect to move your application to a SQL database that does not support spaces in names. For that matter most variations of SQL do not accept any special characters --  just letters and numbers. Some SQL variations also only accept a maximum of 18 characters for table and column names

+
Adds two numeric expression
-
Subtracts the 2nd numeric expression from the 1st
*
Multiplies two numeric expressions
/
Divides the 1st numeric expression by the 2nd
\
Round two numeric expressions, divides the 1st by the 2nd, drops the remainder, and then returns an integer
MOD
Round two numeric expressions, divides the 1st by the 2nd, and then returns the remainder
^
Raises the 1st numeric expression to the power indicated by the second
&
Converts either of two expressions into text strings if necessary, and then concatenates the 2nd text string onto the 1st
" "
Encloses a string, pattern string, or segment of a pattern string
[ ]
Encloses an object name, eg the name of a field. Also used to enclose Query Parameters.
.
Separates objects when qualifying them, eg [Table1].[Field2]. Note that the exclamation mark (!) is also used in the same manner.

Page Modified: (Hand noted: 2007-10-12 18:29:38Z) (Auto noted: 2007-11-17 06:45:39Z)