Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
APPEND from
Message
From
18/06/2019 15:21:54
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01669160
Message ID:
01669164
Views:
54
>Hello friends; In the LOAD method I have created a CURSOR which I update from a GRID in my form. How should I do to update the original Database? If my form is multi-user, should I use APPEND FROM?

Don't know how you want to use vfp / your form.
For me update handling is best handled from table buffered cursors via tableupdate() and those cursors should e created via cursoradapter.
If you have not run across those options: a larger learning step to get running, but with that approach you are fit to go the distance.

In your special case, you would not create a empty cursor via CREATE CURSOR, but create one in cursoradapters select wth a where clause forcing a result set with _tally=0
Previous
Reply
Map
View

Click here to load this message in the networking platform