Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table For Locking
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00478365
Message ID:
00478367
Vues:
21
Hi!

Together with locking record put also a date/time of the record added in the field. If this time is too late (for example 10 minutes), automatically unclock that record because no any user have rights to lock records longer.

>Hello Fellows,
>
>I'm implementing the multiuser enviroment using SQL Server as database.
>
>For the lock of the records im not using the database locking, i create a table with the fields ( key1, key2, key3, key4, key5, key6, tablename ), and there i insert (lock) or delete(unlock) the records from the diferrent tables.
>
>Now, i got a big question...What about if the user dont close the aplication and just shut off the machine...how can i unlock the record on the table that the user were using?
>
>
>Think about it and help me out
>
>Ricardo Martins
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform