Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to backup database

Status
Not open for further replies.

channelmaster

Technical User
Dec 9, 2001
52
PH
How can i back up my database to to another folder and import it again in case my database becomes corrupt. The idea is when I choose to exit from my menu, it will automatically back up without creating an error "file is in use". I have tried to use "close all" but it seems did not work. thanks in advance
 
Maybe you can try to add-on another line "Close tables all" or "Close database"
 
Or
Close Database YourDataBaseName
Close Tables All

That should do it! Tekno
Wireless Toyz
Ypsilanti, Michigan
 
If you just can't figure it out, try this:
[tt]
CLOSE ALL
CLEAR ALL
[/tt]
That should get everything closed down in most circumstances, but it's clumsy. Make sure ALL forms are closed before doing this!

The best place for this is at the end of your main PRG file after your READ EVENTS command. Good luck!

Ian
 
I hate to ask an obvious question, but is this a single user application?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top