PRB: Opening Database Named IN.DBC as a Table Causes Error (156582)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q156582 SYMPTOMS
Attempting to open a .dbc file named In.dbc as a table with the USE command
causes the following error message to appear:
Expression is not valid outside of With/EndWith.
CAUSE
The USE command has an IN clause. In this case, Visual FoxPro cannot
determine whether the word "In" is a clause of the command or the file
name.
WORKAROUND
The following syntax successfully opens the .dbc file as a table:
USE "In.dbc"
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 12/3/2003 |
---|
Keywords: | KB156582 kbAudDeveloper |
---|
|