Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Suresh Ramtekkar
  Where is Suresh Ramtekkar?
 Nagpur
 India
 Suresh Ramtekkar
 To: Pablo Jr. Cabatic
  Where is Pablo Jr. Cabatic?
 Gattaran
 Philippines
 Pablo Jr. Cabatic
 Tags
Subject: RE: Share Database Problema
Thread ID: 311160 Message ID: 311162 # Views: 43 # Ratings: 2
Version: Visual FoxPro 9 Category: Databases, Tables and SQL Server
Date: Wednesday, June 29, 2011 11:16:21 AM         
   


> Hello Fox Programmer's,
>
> I have a problem regarding in sharing databases
>
> it works in standalone but when i shared it an error occurs. Thanks!
>
>
> My codes:
>
> 
> * StandAlone----------- (OK)
> DPPdatadir = "C:\DPPDATA"		
> aDBC = DPPdatadir+"\dpp.dbc"
> OPEN DATABASE &aDBC SHARED  
> SET DATABASE TO &aDBC 
> 
> USE dppsetup && AGAIN 
> SCATTER MEMVAR 
> USE 
> 
> 
> 
> * Shared-----------
> 
> DPPdatadir = "\\server\DPPDATA"		
> aDBC = DPPdatadir+"\dpp.dbc"
> OPEN DATABASE &aDBC SHARED  
> SET DATABASE TO &aDBC 
> 
> *This file is part of DPP.DBC
> 
> USE dppsetup  && error: '\\server\dppdata\dppdata\dppsetup.dbf' does not exist
> 

>
>
> Thanks
>
>
>
>
> "It is the fear of failure, not failure, that cripples people."
> ---------------------------------------------------------------------
> pabs

hi

you accessing direct Server Address path, Instead of using this, First Map Network drive, & then USE your tables


Thanks
Regards

Suresh

ENTIRE THREAD

Share Database Problema Posted by Pablo Jr. Cabatic @ 6/29/2011 11:10:59 AM
RE: Share Database Problema Posted by Suresh Ramtekkar @ 6/29/2011 11:16:21 AM
RE: Share Database Problema Posted by Pablo Jr. Cabatic @ 6/29/2011 11:18:55 AM