Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visual Foxpro - SQL Server Interface
Message
From
13/11/1996 13:16:34
 
 
To
12/11/1996 10:56:48
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00012047
Message ID:
00012161
Views:
35
>I have been developing applications in Visual Foxpro for sometime and have now been given the task to write a small application using VFP as the front end performing SQL on a SQL Server database.
>
>I can handle the queries on the SQL Server. My only problem is when I perform a query and if the user modifies it in the VFP cursor. How do I then update this change to the database. Any help would be appreciated.
>
>Thanks
>
>Suleman

The general rule is:
1. Use Pass-Through SQL to get non-updatable data from SQL This case it's very convenient to write Stored procedures on SQL-server and call them using SQLExec(nConn,"Execute StorProc1 "...).
2. Use buffered remote view to get updatable data and use TABLEUPDATE() and similar stuff to handle it.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform