Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
APPEND from
Message
De
18/06/2019 15:21:54
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01669160
Message ID:
01669164
Vues:
55
>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
Fil
Voir

Click here to load this message in the networking platform