Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Pablo Jr. Cabatic
  Where is Pablo Jr. Cabatic?
 Gattaran
 Philippines
 Pablo Jr. Cabatic
 Tags
Subject: Share Database Problema
Thread ID: 311160 Message ID: 311160 # Views: 37 # Ratings: 0
Version: Visual FoxPro 9 Category: Databases, Tables and SQL Server
Date: Wednesday, June 29, 2011 11:10:59 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

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