Microsoft KB Archive/165171

= DOC: USE Command Incorrectly Documented in Help File & Manual =

Article ID: 165171

Article Last Modified on 5/10/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Visual FoxPro 3.0b Standard Edition
 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a
 * Microsoft Visual FoxPro 3.0b for Macintosh

-



This article was previously published under Q165171



SUMMARY
The online Help and the "Visual FoxPro Language Guide" both show the separator between database name and the table name in the USE command as the period (.). This is incorrect. The separator should be the exclamation point.



MORE INFORMATION
Type USE in the command window. Highlight it and press F1. The following is displayed as the syntax: USE [[DatabaseName.]Table Also the second paragraph under Arguments incorrectly says the following:

To open a table not in the current database, qualify the table name with the database name, using a period (.) to separate the database and tables names. If you don't qualify a table with a database name, Visual FoxPro can open tables only in the current database.

Note that the period should be replaced with an exclamation point (!).

