Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I want to know if a record/file is locked
Message
From
28/11/2007 18:09:56
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
28/11/2007 18:01:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01271891
Message ID:
01271892
Views:
17
>I'm trying to find something that will tell me if a record or file is locked by another process without locking the file/record myself.
>
>I've checked the isflocked and isrlocked and those will only return true if it's the machine that locked the file/record and THAT is kinda useless, y'know?

You can try to lock the file or record, and immediately unlock it again.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform