Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Attempting to lock
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01327535
Message ID:
01327536
Vues:
14
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform