Board index » delphi » Urgent: Why can't copy database files???
Attila Ambrozai
![]() Delphi Developer |
Sat, 30 Mar 2002 03:00:00 GMT
Urgent: Why can't copy database files???
I want my program to make backup copies of all the Paradox
tables (for all of them CachedUpdates is true!) it uses. But as soon as it reaches the linecontaining "Source := TFileStream.Create(DirInfo.Name, fmOpenRead);" an error message pops us saying "table1.xg0 can't be opened" (that's the first file). So somewhy it can't open the files of the tables. Why??? In BDE setting LocalShare is True, the Exclusive property is turned false for all tables. If I try to unlock the table I receive another error message saying "Table not locked". So they are not exclusive, not locked, but shared, then why can't I copy the files of tables? Plese help, this is urgent. Another thing. I noticed files named "pdoxusrs.lck" in both the program and bote the database directory. What is that used for? And sometimes I also notice "paradox.lck" in both directories mentioned above but sometimes don't. What is the reason of that? Thank you in advance. Attila Ambrozai |