Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Stefan Wuebbe
  Where is Stefan Wuebbe?
 Hamburg
 Germany
 Stefan Wuebbe
 To: Mark Buckley
  
 
 
 Mark Buckley
 Tags
Subject: RE: Can't access vfp database on server
Thread ID: 203295 Message ID: 203298 # Views: 51 # Ratings: 0
Version: Visual FoxPro 7 Category: General VFP Topics
Date: Wednesday, November 12, 2008 11:53:09 PM         
   


> I hope someone can help. I have built a project with a database(data1.dbc). I am trying to move the database to a central server so that multiple instances of the program can access the data. I have tried to change my project many ways(such as modifying the before opentables on the dataenvironment) and the only thing that gets updated is the origional database. I am at a loss.
>
> Thank You,

One option is to use an excluded config.fpw file containing a line
Path = \\theServer\sharedFolder


Another is to "Set Path To something" early in your "main.prg", where "something" can be a variable or object.method() or function returning the server path being read from something like a DBF, XML or INI file, or Windows Registry etc.
Right after that line, you can "Open yourDatabase.DBC Shared" additionally.


hth
-Stefan



COMPLETE THREAD
Can't access vfp database on server Posted by Mark Buckley @ 11/12/2008 11:43:44 PM
RE: Can't access vfp database on server Posted by Stefan Wuebbe @ 11/12/2008 11:53:09 PM
RE: Can't access vfp database on server Posted by tushar @ 11/13/2008 8:16:32 AM
RE: Can't access vfp database on server Posted by Mark Buckley @ 11/13/2008 5:27:50 PM
RE: Can't access vfp database on server Posted by Benny Thomas @ 11/13/2008 9:01:44 PM
RE: Can't access vfp database on server Posted by Mark Buckley @ 11/13/2008 9:39:13 PM
RE: Can't access vfp database on server Posted by Stefan Wuebbe @ 11/14/2008 6:19:56 AM
RE: Can't access vfp database on server Posted by Mark Buckley @ 11/14/2008 3:22:27 PM
RE: Can't access vfp database on server Posted by Stefan Wuebbe @ 11/14/2008 3:34:57 PM
RE: Can't access vfp database on server Posted by Benny Thomas @ 11/15/2008 5:08:31 PM