Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: barney guna
  Where is barney guna?
 BANALORE
 India
 barney guna
 To: Vivek Deodhar
  Where is Vivek Deodhar?
 SANGLI
 India
 Vivek Deodhar
 Tags
Subject: RE: In network file in use by another user
Thread ID: 395678 Message ID: 395684 # Views: 44 # Ratings: 0
Version: Visual FoxPro 6 Category: General VFP Topics
Date: Friday, January 17, 2014 7:43:14 AM         
   


> > Dear Sirs
> > When working in a Network, if one system is being used, another system says that the dbf is in use by another user!
> > Error : File is use by another user
> >
> > I have tried:
> > set excl off
> > in the init of first form
> > Regards
> > Barney
>
> Use "set exclusive off" in load event of all forms. That will make sure that tables opened in the load event will also use this setting. "Init" fires after "Load" so if you set exclusive "OFF" from init and open some table in load event, it would still be opened as exclusive.
> If you are using "Private Data Session", the default for set exclusive would be "OFF" but you will be better off to use it explicitly in each form. Note that SET EXCLUSIVE is scoped to the current data session.
>
> Vivek
>
> Live wisely... because in real world, there is no Ctrl + Z!

Dear Vivek,
Thank you...
I did it...and it works.
Barnabas Gunaraj

ENTIRE THREAD

In network file in use by another user Posted by barney guna @ 1/17/2014 5:38:19 AM
RE: In network file in use by another user Posted by Vivek Deodhar @ 1/17/2014 6:06:51 AM
RE: In network file in use by another user Posted by barney guna @ 1/17/2014 7:43:14 AM
RE: In network file in use by another user Posted by Raju Shrestha @ 1/17/2014 6:52:36 AM
RE: In network file in use by another user Posted by Stefan Wuebbe @ 1/17/2014 8:21:08 AM
RE: In network file in use by another user Posted by barney guna @ 1/17/2014 8:50:36 AM