Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coding for Peer to Peer networks
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00497969
Message ID:
00501148
Views:
17
Make that sys(2003). Sorry

>Hey Sam. Determine the current path where the app is by using sys(2004). Store this in a sting and use it to open all of your tables and make other references.
>
>lcPath = sys(2004)
>dbpath = lcpath + "data\"
>
>use dbpath + "trains" in 0
>use dbpath + "tracks" in 0
>use dbpath + "tickets" in 0
>
>Then you never have to worry about which drive your app is on or the user has mapped.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform