Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to save a record in multi-user environment...
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00341703
Message ID:
00341760
Views:
23
Hi again,
In a multiuser environment, you will probably be using buffered tables for adding/editing records. This means that while you are making the changes the record is separate from the 'real' tables on the server. When your editing is done and the user clicks the "Save" button then you would issue a TableUpdate() command for each table changed. Read the Help on this command, and on TableRevert which undoes any changes to understand how to use it when changing a single record (row buffering) or multiple records (table buffering).

When adding a record, you would normally add the record to the buffered table with INSERT or APPEND BLANK and then edit it as needed. Again, save the record with TableUpdate()

HTH
Barbara

>Hi, all
>
>I need to know who's the best way to save a rec in multi-user environment.
>
>1ª A existing rec and i know what's the rec number.
>
>2ª A New rec.
>
>I'm a begginer and i aprecciate if someone can tell me that with some code.
>
>Thank's in advance, and have a great weekend,
>
>Joao Batista
>(jbinf@mail.telepac.pt)
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform