Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement