Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way to count locked records?
Message
 
To
20/11/1997 23:18:01
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00061540
Message ID:
00061555
Views:
32
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform