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 does Access delete work? 1

Status
Not open for further replies.

fy79

Technical User
Aug 30, 2002
4
MY
when data is deleted, where does access store or place it? can it still be retrieve? im doing a project where i want to create something like a recycle bin for access. any help much appreciate it.
 
The way I do it is to add a field to each of your tables called Deleted and is a yes/no field.

All my objects are based on queries where deleted is no.

This way a user can delete a record by checking the tick box but of course the record is not deleted.

I then have an append query that runs when needed to append "Deleted Records" to an archive table. This is run on an ad hoc basis depending on the size of the database

Neil Berryman
IT Trainer
neil_berryman@btopenworld.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top