Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using long filenames as Alias name
Message
From
04/08/1999 12:27:41
 
 
To
04/08/1999 12:20:55
Jolene Dicks
Human Resources Development Canada
St. John's, Newfoundland, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00249809
Message ID:
00249818
Views:
20
>Another question,
>
>I have a file that is used throughout my application called 'EXTRACTFILES'. That is the filename and I am also using it as the alias name.
>
>This file is used throughout my program, from one process to another. As I work with a file, I usually close it once I am done with it. This 'EXTRACTFILES' table gets closed too. Once the next process starts and tries to reuse this file, it will tell me that it is already open. Seems like if the files is open, the process returns an error stating that it isn't and if it isn't open it returns an error stating that it is already in use. I always check to see if a file is open before using it. So I am not sure what the problem is. Someone suggested the fact that it is a long filename.
>
>Anyone have any suggestions????

If you're using the USED() function, it only operates in the current datasession; if you use private datasessions, you can't see an open instance of the file or the use of a particular alias in another private dataasesion.

>
>Thanks.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform