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

clear access table from vb

Status
Not open for further replies.

jono261970

Programmer
Jun 28, 2002
182
GB
Hi,

is it possible to clear an access table before I add to it?

I am using the DAO "rs1.addnew" command to add data to the current fields. I would like to empty the table each time I call the routine that adds the data.


hope this makes sense!

thaks in advance.

jono



A good fortune may forbode a bad luck, which may in turn disguise a good fortune.
 
You could simply delete everything like this

db.Execute "Delete * From tbl"

 
Thanks buddy!

That did the trick.

jono
]

A good fortune may forbode a bad luck, which may in turn disguise a good fortune.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top