Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Benny Thomas
  Where is Benny Thomas?
 Jeddah
 Saudi Arabia
 Benny Thomas
 To: Mark Buckley
  
 
 
 Mark Buckley
 Tags
Subject: RE: Can't access vfp database on server
Thread ID: 203295 Message ID: 203463 # Views: 25 # Ratings: 0
Version: Visual FoxPro 7 Category: General VFP Topics
Date: Thursday, November 13, 2008 9:01:44 PM         
   


> >
> > Your forms might be saving the full path of the database to be used. Rename the folder of the original database and try.
> >
> > Regards
> > Tushar
>
> Thanks all for the reply,
> I am still having trouble, I built the project and added the database in the project.
> I have tried "set path = " in the main program. I have tried to set the "This.cursor1.database =" in the beforeopentables in the dataenviroment of the form. Nothing works. Please continue to offer advice.

Hope I understood your problem correctly. If you are planning to run the application from different PCs on the LAN, you will be building an EXE file and deploying the same on a server or on every PCs from where it will be run. In that case you will be putting all the database and tables on a central location in server, accessible by all users. So why you have to include the same in project? I do not include the database in project but in the main program I set the path to the database and tables. Then I open the tables/database as and when needed in the program.
Benny



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