Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automating MSACCESS connection
Message
 
À
06/08/2007 14:16:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Vista
Database:
Jet/Access Engine
Divers
Thread ID:
01246184
Message ID:
01246223
Vues:
27
>Thanks for these two quick replies. I feel the answer is staring me in the face now, but I'm still not seeing it.
>
>I don't know why, but I still get the automated 'Select Database' messagebox asking me to locate the MDB table with the following (stripped down) code...
>
>
>
>constring = "DBQ=<path&filename>;Driver={Driver do Microsoft Access (*.mdb)};DriverId=25;FIL=MS Access;MaxBufferSize=2048;MaxScanRows=8"
>
>sqlHandler = SQLSTRINGCONNECT(constring)
>select * from data1!MsAccess1
>
>
>note:
>path&filename _is_ correctly pointing to the mdb.
>databasename is data1
>remote view is called MsAccess1
constring = "DBQ="+path+filename+";Driver={Driver do Microsoft Access (*.mdb)};DriverId=25;FIL=MS 
MessageBox(constring)
...
Are you see correct string?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform