PRB: VFPODBC Driver Ignores Path in DSN When Executing SQL (192979)
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 5.0a
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q192979 SYMPTOMS
After you connect to a particular database, or point to a free table
directory, the Visual FoxPro ODBC driver ignores the path specified in the
Datasource.
RESOLUTION
In the SQL statement, use the full drive and path where the table is to be
stored. For example:
CREATE TABLE 'C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\MSDN98\98VS\1033\
SAMPLES\VFP\DATA\MYTEST1' (FLD1 C(10),FLD2 N(6.2))
NOTE: With MSQuery, if you are using a path similar to the preceding
example, you must use a command similar to the following:
CREATE TABLE d:\PROGRA~1\MICROS~1\MSDN98\98VS\1033\SAMPLES\vfp98\DATA\
MYTEST1' (FLD1 C(10),FLD2 N(6.2))
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 5/12/2003 |
---|
Keywords: | kbcode kbDatabase kbprb KB192979 |
---|
|