delete and reset

  • Thread starter Help an Access Idiot
  • Start date
H

Help an Access Idiot

How can you set a database table up to automaticly delete
and reset for next days data?

Thank you ahead of time for any assistance.
Packskum the pathetic.
 
S

SK

Create a Delete Query in the database and then run this
either on Database exit or on Database Open as it fits to
your situation.

Dim Delete As String
Delete = "qry_Delete"
docmd setwarnings true/False 'to see confirmation of the
deletes.
DoCmd.OpenQuery Delete, acViewNormal, acEdit
DoCmd.Close acQuery, Delete
 

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