Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connectivity
Message
 
À
02/05/2000 13:49:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00365026
Message ID:
00365243
Vues:
13
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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform