Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is the file in use?
Message
From
25/01/2007 17:53:14
 
 
To
25/01/2007 17:48:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01189394
Message ID:
01189415
Views:
6
Excuse me Craig. I think I did'nt explain myself clear enough. You're not the first one to tell me about DBFs.

I meant I wanted to check for existance for text files for example.


>The only way to ensure that you can open a DBF is to attempt to USE it and handle the error if you can't.
>
>>I have a table with file names in in.
>>
>>Is there a way to know if a file is opened?
>>
>>Will I have to use fclose or fcreate?
>>
>>What I'm hoping for (solution) is something like the following
>>
>>
>>If TheFileIsOpen( lcNameOfTheFile)
>>   .
>>   .
>>   .
>>else
>>   .
>>   .
>>   .
>>endif
>>
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform