Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating table's record?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00081626
Message ID:
00081627
Vues:
19
>I usually used memory variables from textbox and "replace" command
>to update a record before.
>I'm not sure but I found tableUpdate() function might be good
>substitution.
>But I could not get to know exact usage of it.
>Would you please explain me how to use it?


Very briefly:

1. Be sure all tables are in a database

2. Set buffering on tables to row or table buffering. Do NOT set it to 'no buffering'.

3. Bind your textboxes directly to the table - use the field for the controlsource instead of a variable.

4. Before you move the record pointer, or whenever you want to save, issue a TableUpdate() command.

Read the manual and help system on Buffering as well as the informatin on TableUpdate() and TableRevert(), then try a simple form.

THEN you'll have LOTS more questions to ask :-) Good luck,

Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform