Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using SQL Server and Foxpro 6
Message
From
01/12/2002 20:24:05
 
 
To
01/12/2002 18:50:54
Jordan Pastourel
Worksafe Management Systems
Toowong, Australia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00728501
Message ID:
00728506
Views:
13
>Hi all,
>i am about to embark on my first project involving VFP6 and SQL Server. what i need to do is take the data within the SQL Server, present it for confirmation and upload it into an existing Foxpro database. i will also need to make sure that the SQL Server masterlists are current and update them from the foxpro tables as necessary.
>in light of this, what is the best way to connect to the data? do i go through ADO? views? or some other method? any advice would be greately appreciated.
>many thanks,
>Jordan


Remote (parameterized) views may be the easiest way. Once you requery them they are basically VFP cursors that you can easily manipulate.

Check the help file and tutorial. It has a section of C/S development. Also the book mentioned by Sergey is very good.
http://fox.wikis.com/wc.dll?Wiki~Client-ServerApplicationsWithVisualFoxPro6andSQLServer7

There is also good info at:
http://fox.wikis.com/wc.dll?Wiki~CategoryClient/Server
http://fox.wikis.com/wc.dll?Wiki~ProgrammaticallyCreatingDSNs~VFP

and Jim Falino's article "Why You Should Do Client-Server Development" - FoxPro Advisor - October 1998
http://foxproadvisor.com/doc/05258


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Reply
Map
View

Click here to load this message in the networking platform