This will open the DBC in a shared mode, allowing opening other tables
later.
   Set Exclusive Off
   Use <table> Exclusive


This might manage it
  Set database to (CursorGetProp("DATABASE",<alias>))
  Close database && also closes the table(s)

-----Original Message-----
From: Jeff Johnson
Sent: Wednesday, April 11, 2007 11:00 AM

I have a backup routine where I copy files from a source to a target folder.
All files are closed.  I have a couple of very large files where I open up
the source table and the target table and synchronize them.  When I am done
I close the tables and the databases and move on to the next file.  The
problem I am having is that no matter what I have tried, I get a file in use
error on the DBC.  I have tried everything I know, but for some reason one
of the DBC's is still in use.  I can't tell if it is the remote one or the
local one.  This is VFP7.


Any ideas?  Anyone seen this before?




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to