Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Attempting to lock
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01327535
Message ID:
01327536
Views:
13
>When I try to use a table buffered as 4, I have the wait window:
>
>" attempting to lock, press esc to cancel"
>
>If I press esc, I get an error message
>
>I would like to know if it is possible:
>
>1- Create my own wait window when this happen
>
>2- Prevent the error message and execute some code instead
>
>( I can not buffer as 5 because I do not want both users at the same time at this table)
>
>Moises

1. Use buffering mode 5. You only will have conflicts if both uses will attempt to save data at the same time.

If you want to ensure that only one user opens the particular table (form) at a time, you may maintain your own "locking" table.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform