Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy running dbf
Message
From
11/01/2007 08:17:01
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
To
11/01/2007 08:11:30
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01184430
Message ID:
01184500
Views:
16
until today I didn't had prbs but can't say for sure u can try and run some tests. Cause most of the times the tables can be open but not being inserting or deleting records. But I can't say for sure.

>Hi Alexandre,
>
>if someone is in the middle of updating a DBF while XCopy runs on it, does the file get copied properly, or will you end up with a corrupt DBF?
>
>Thanks.
>
>>Hi Tarig you can do the following.
>>Create a .bat file like this.
>>backup.bat
>>
>>MD backup
>>DEL backup\*.* /q
>>xcopy *.dbf backup\
>>
>>now in Visual FoxPro u just call run backup.bat
>>xcopy will allow u to copy even if dbf's are being used.
>>
>>You can also create this bat file in the fly inside VFP.
>>
>>>Dear Experts
>>>
>>>Some dbf is using, I mean someone is entering or editing data in it.
>>>Is it possible to make a copy of such dbf that is beeing used?
>>>I want to make a routing with timer control to copy dbf folder but I am afriad this will not work if some dbf is used in this folder.
>>>
>>>Please Help
Alexandre Palma
Senior Application Architect
Previous
Reply
Map
View

Click here to load this message in the networking platform