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!

Delete all records from table

Status
Not open for further replies.

gamble007

IS-IT--Management
Jan 15, 2002
6
CA
Hi,
Im looking for a way to delete every records in a table, without deleting the table itself. This code would be under a command button. Any ideas?
Thanks
 
Create a query that does the following:

DELETE * FROM MyTable;

have the ButtonClick event run the query. Terry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top