Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Attempting to lock
Message
From
17/01/2008 13:32:30
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01282563
Message ID:
01282731
Views:
8
Buffering = 5 will not always save the record. You will get an error (unless you force the update, which should be used with care) if somebody else have modified the record before you.

Programming for a multi-users environment is a complex topic and should be carefully planned before starting the development, unless it's an add-on to an existing application. I suggest that you take a look at the topic "Programming for Shared Access" in the help.

>I think I know enough not about buffering in cursors
>
>(please let me know if I am wrong)
>
>The summary is:
>
>Buffering = 5 will always save the record, but it can generate error
>in the records
>
>Buffering = 4 will not allow 2 users writing at the same time
>
>I can use rlock () to prevent error message and have my own message
Previous
Reply
Map
View

Click here to load this message in the networking platform