Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Pete Sass
  Where is Pete Sass?
 Marathon, Ontario
 Canada
 Pete Sass
 To: Eric den Doop
  Where is Eric den Doop?
 Houten
 Netherlands
 Eric den Doop
 Tags
Subject: RE: Drivers without Requirement to Map Network ...
Thread ID: 33678 Message ID: 33696 # Views: 1 # Ratings: 0
Version: Visual FoxPro 7 Category: Install & Config. issues
Date: Tuesday, December 02, 2003 3:38:13 AM         
   


> > Can someone please point me to FoxPro drivers that do not require that a network drive be mapped from the client to the database? Thanks. -Mike
>
> What do you mean with "driver"? You can open a table or database using the UNC path, like:
>
> USE "\\servername\share\subfolder\myfile.dbf"
> 

> --
> Eric den Doop
> www.foxite.com - The Home Of The Visual FoxPro Experts



Hi,
If your DBC and tables are on the network for one application in one folder better yet,
SET DEFAULT TO \\servername\folder

Then just use the tables.

If this is in an application you want a global memvar in a setup utility screen that allows you
to change this UNC and save it say into a memory file that is restored in your Main.prg
to start your application.

In this case you got something in your main.prg like
Public cNetPath
cNetpath = ""
Restore from Setup.mem Additive
Set Default to &cNetPath

where cNetPath memvar is stored in the Setup.mem file.

Pete from the Great White North. (Only in Canada, ay.) Over and Out ...


ENTIRE THREAD

Drivers without Requirement to Map Network Drive? Posted by mike @ 12/1/2003 7:09:53 PM
RE: Drivers without Requirement to Map Network ... Posted by Eric den Doop @ 12/1/2003 7:48:22 PM
RE: Drivers without Requirement to Map Network ... Posted by Pete Sass @ 12/2/2003 3:38:13 AM