Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way to count locked records?
Message
 
À
20/11/1997 23:18:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00061540
Message ID:
00061555
Vues:
37
Vlad, out of the several replies I got from you I'll answer to this one:

Since one of the main programming directives is to make the impossible possible there should be a way to do this fast and accurately, just for the fun of it; secondly, I am sure if post your question in the UT, there would be probably dozens of cases and scenarios that developers could use it. In my specific case I'd like to know this value so I'd be able to know at any given time the amount of records locked, so that'd give me and idea of at what moment in the day the traffic is heavier, therefore allowing me to find a time when I can decide to have the users to log off for maintenance and update reasons; I could also give you a couple other reasons, but that's not the point of my question.

Thanks

Gil

>Why do you need this?
>
>Vlad
>
>>I know we can lock, unlock, set multiple locks, and so on, now, can we actually count how many records are locked in a networked table? If I were to issue a command such as COUNT TO N FOR RLOCK() = .F. woudn't I be locking records as I'm counting?, it would make sense to me...then what would be the proper way to do this?
>>
>>Thanks, ladies and gentlemen...
For every bug fixed, there is a bigger bug not yet discovered.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform