Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
4
Erster Beitrag:
vor 1 Jahr, 9 Monaten
Letzter Beitrag:
vor 1 Jahr, 9 Monaten
Beteiligte Autoren:
DarrenF, DerekT

[WD16] Counting the locks on a file...

Startbeitrag von DarrenFam 16.08.2011 07:48

Hi guys,

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.

HLockCount would be nice ;)



von DarrenF - am 17.08.2011 14:09
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.