Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating table's record?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00081626
Message ID:
00081627
Views:
23
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform