Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working with Access97 MDB
Message
From
21/09/2000 05:49:09
 
 
To
21/09/2000 03:17:22
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00418887
Message ID:
00418901
Views:
34
Hi Al,

What message do you get back when you do the second sqlexec ?

>VFP5.0a:
>
>I'm using SQLSTRINGCONNECT() to create a DSN-less connection to an .MDB. Once connected, I can run the first of the following commands successfully, but not the second (it returns -1):
=SQLEXEC(nHandle, "SELECT * FROM <i>Table</i>", "Output")
>=SQLEXEC(nHandle, "SELECT <i>OneField</i> FROM <i>Table</i>", "Output")
The first command works fine but pulls across fields I don't need, and all the character fields are 150 in length so the cursor is pudgy & pokey. I can't for the life of me see why * would work, but a single field won't.
>
>???
Previous
Reply
Map
View

Click here to load this message in the networking platform