Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use sqlserver 2000 with vfp8
Message
From
11/08/2003 09:54:43
 
 
To
11/08/2003 08:04:25
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00818836
Message ID:
00818873
Views:
13
>i have just got vfp8 and i want to use sqlserver as database.
>how can i do it ?

There is basically one way to talk to SQL Server with native VFP, and that is with SQL Pass-thru (SPT) commands. With SPT you basically make a connection to the server and send commands to it, just like you do when running query analyzer. You can also use Remote Views which do some stuff in the background for you then ultimatly use SPT. VFP SPT uses ODBC drivers.

Finally, you can also use ADO, which is not native to VFP, but a COM server that you can use to access OLE-DB data sources. The new Cursor Adapter in VFP 8.0 makes using ADO much easier than with previous versions. I think the VFP web site has some articles on using the cursor adapter.

BOb
Previous
Reply
Map
View

Click here to load this message in the networking platform