Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automating MSACCESS connection
Message
 
To
06/08/2007 14:16:59
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Vista
Database:
Jet/Access Engine
Miscellaneous
Thread ID:
01246184
Message ID:
01246223
Views:
26
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform