Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Row updates from SQL based cursor
Message
 
 
To
06/08/2004 09:54:59
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00931295
Message ID:
00931474
Views:
16
Derek,

You should check TABLEUPDATE() return value. If it's .F. than thrre're errors. To determine why the changes could not be committed, you can use the AERROR() function.

>
>I have returned a dataset from SQL, using the =SQLExec command. However, whenever I attempt to perform a tableupdate I've noticed that it only saves the changes to the data if I've selected the very first record from the SQL table. If I choose the 2nd/3rd/4th record etc SQL will not update the changes I've made.
>
>Any ideas?
>
>To update the cursor I'm using:
>
>=tableupdate(2, .T., 'MyTable1')
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform