Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connectivity
Message
 
 
To
02/05/2000 13:49:39
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00365026
Message ID:
00365243
Views:
12
You are trying to do macro expansion in a literal string. In short, you cannot do this. If you want to do something dynamically, try this:

CREATE connection COE ;
connstring 'DSN=MS Access 97 Database;DBQ=' + gcDBLocat + ';DefaultDir='+ gcDefaDir + ';DriverId=25;FIL=MS Access;MaxBufferSize=512;PageTimeout=5;UID=admin'


HTH...

>Below is the connect string I use from within my code.
>
>CREATE connection COE ;
> connstring 'DSN=MS Access 97 Database;DBQ=&gcDBLocat;DefaultDir=&gcDefaDir;DriverId=25;FIL=MS Access;MaxBufferSize=512;PageTimeout=5;UID=admin'
>
>
>If this is not correct, what should I do to fix my problem?
Previous
Reply
Map
View

Click here to load this message in the networking platform