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

Erase records within table

Status
Not open for further replies.
Aug 24, 2005
56
US
Would anybody here know how to use a macro or VB to erase all records within a table in MS Access, leaving it blank?

Thanks,

Kevin
 
VBA

CurrentProject.Connection.Execute "DELETE FROM YourTableName",,129

Ultra fast and one of my favorites
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top