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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Backup paradox table using delphi

Status
Not open for further replies.

Joell

Technical User
Oct 4, 2002
10
AU
I've got a couple of paradox tables that i access through the BDE. Is there any way i can backup or archive these tables through coding using delphi

Cheers,
Joell
 
Joell,

Yes, in the BeforeDelete event of the user's dataset, add code that appends a new record into the Backup dataset and then copies the fieldvalues into the new records.

That's all you need.

Hope this helps...

-- Lance
 
If you're looking at doing a full copy of the Paradox table you might want to use the 'DbiCopyTable()' process.
Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top