Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to open VFP tables located on unmapped drives?
Message
From
09/12/2004 04:23:40
 
 
To
08/12/2004 13:05:28
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00967815
Message ID:
00967952
Views:
7
>Currently, our users' Windows logons activate scripts which map various network drives for their access. Some of these drives contain VFP data files which will be needed by various VFP applications. We would like to remove such automatic mapping & instead on-the-fly, from within VFP applications, provide access to specific network folders containing VFP tables. This would most likely require passing special username/password/domain information as part of accessing the VFP tables. Can this be done? If so, is it advisable or efficient?
>
>Thanks,
>Randy W.

Hi There

In order to function smooth, VFP need FULL access to directory containing VFP data.

As for mapping of drives, this can be completely avoided if application is equiped with proper functionality to open distinct dbc location(s) instead of requiring mapped drive.

If you wish, I can send you solution I use for years now, enforcing database paths via one line of code added in each form's DE.BeforeOpenTables method.

But is only applicable for tables within database. You will hv to amend it for free tables if used.

Rgds++
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Reply
Map
View

Click here to load this message in the networking platform