Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Used() statement
Message
From
07/05/1997 13:34:27
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00031069
Message ID:
00031179
Views:
41
>>>Does this statment not work if you specify a drive letter? I keep getting a .f. response when issuing a
>>> ~~ ?used("K:ledger") ~~ and I KNOW the file is in use!
>>>Thank you
>>
>>You don't have to put the drive leader. Just put the alias.
>
>Sorry, I should have been a little more specific. I want to know if another user on the network has this file open.

Sorry about my last reply, it was not related to use USED() to see if the file is in use by someone else.

As someone else mentioned, you may try to use it exclusively, trap the error and react to see if it is already opened by someone else.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform