Access Clear all records in access

Joined
Feb 27, 2018
Messages
2
Reaction score
0
since im using a db access , did u know how to setting the record to clear all in every year ? or button to to clear all data/record ?
 
Joined
Feb 21, 2018
Messages
216
Reaction score
86
Take Backup of your database before its too late.


Go to create tab
create a query
suppose you want to delete all recs from table1

save the query , give it a purposeful name say deletor.
goto design view - sql view

type this line

DELETE *
FROM Table1
WHERE 1=1;

save it.

Now run this query. if you get a popup/alert click yes...all your precious records are gone...
 
Joined
Feb 27, 2018
Messages
2
Reaction score
0
okay thanks for replying , sorry for inconvenience, I would like to make…the user the one who’s use my system clear up their record every year, I don’t want to clear the record , I just want the USER to clear up the records , so I think I would to make one button for them to clear all data/ record.. :(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top