Is it possible to count the number of locked records in a non-c/s HFSQL data file?
Antworten:
So, I presume there's no way of doing this? von DarrenF - am 16.08.2011 13:07
Darren
Cannot see any way of doing this - there are no 'h' functions available that I can see.
You could of course ' roll your own' by switching off the auto locking and storing all locks in a table.
I have done this in one of my apps and it all works without a hitch.
Check out the 'Whos Locking' example for the detail on what would be required.
Regards von DerekT - am 16.08.2011 18:02
Hi Derek,
Yes - I looked at the "Who's locking" project - it's very, erm, interesting, but I was hoping for a quick FOR/NEXT loop and maybe a "H..." command [[5]] ...ah well.
Diese Seite auf Ihrer Homepage verlinken: Verwenden Sie dazu einfach folgenden Code:
<a href="http://www.mysnip.de/forum-archiv/thema-27131-108982/_WD16_+Counting+the+locks+on+a+file___.html">[WD16] Counting the locks on a file...</a>
von DarrenF - am 16.08.2011 13:07
Cannot see any way of doing this - there are no 'h' functions available that I can see.
You could of course ' roll your own' by switching off the auto locking and storing all locks in a table.
I have done this in one of my apps and it all works without a hitch.
Check out the 'Whos Locking' example for the detail on what would be required.
Regards
von DerekT - am 16.08.2011 18:02
Yes - I looked at the "Who's locking" project - it's very, erm, interesting, but I was hoping for a quick FOR/NEXT loop and maybe a "H..." command [[5]] ...ah well.
HLockCount would be nice ;)
von DarrenF - am 17.08.2011 14:09