Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data Environments and Multiuser Applications
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00141148
Message ID:
00141241
Views:
33
>Hi Wesley,
>
>What we do is set up 2 Variable's at the beginning of the application
>One for the DataBase Location and One for the Drive Letter. We need 2 because the form Requires a fully qualified File Name and Path.
>
>Example:
>
>Data_Drive=SYS(5)
>Data_Path=SYS(2003)+'\..\Dbfs\'
>

Bob, you'd be better off saving only the data path, and prefixing it with the drive via FULLPATH() or concatenation, since if you're using UNCs, there's no drive letter available. SYS(5) on a UNC is completely invalid.

-snip-

Ed
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
Next
Reply
Map
View

Click here to load this message in the networking platform