Use Exclamation Mark (!) Notation for Precise ReferencingID: Q131265 3.00 WINDOWS kbprg The information in this article applies to:
SUMMARYUse the exclamation mark (!) notation to reference tables in databases (.DBC files). Use it to reference tables that have the same names but that exist in different databases, and use it to make code more readable. Its main purpose is to guarantee the opening of a specific table.
MORE INFORMATIONHere is the syntax:
NOTE: Do not put spaces on either side of the exclamation mark.
Step-by-Step Example1. Create the following directory structure:
2. Issue the following commands in the Command Window:
3. Open the tb_mytbl table in the db_two database by using this command:
The exclamation mark (!) notation works in the same manner for long table
names, and it makes code more readable. The notation makes it clear exactly
which database holds the table of interest. It is especially useful in
SQL-SELECT statements.
Additional reference words: 3.00 VFoxWin !-symbol bang symbol KBCategory: kbprg KBSubcategory: FxprgTable
|
Last Reviewed: May 1, 1996 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |