Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making sure a network drive is mapped
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00733567
Message ID:
00733605
Views:
18
? DRIVESPACE('F') &&If return -1 drive "F" it's not mapped

>Is there any way of ensuring a network connection is mapped before I try to append a record to a table on that drive?
>
>I have an app, and although it doesn't error the user is complaining that some records do not seem to have saved.
>
>I would assume that if I tried to append to a file that could not be accessed it would give me an error.
>
>I would like to call some code to remap the drive before I append just to cover myself.
>
>
>Any help would be much appreciated.
Dominican Republic, a Paradise in America
Previous
Reply
Map
View

Click here to load this message in the networking platform