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!

Removing or Deleting an Access Table

Status
Not open for further replies.

edemeht

Programmer
Nov 4, 2003
2
GB
How can I remove or delete and access table once I have established an open connection to the database?
 
You can use this code, where <table> is the name of the table that you want to delete


Dim strSQL as String
strSQL = &quot;DROP TABLE <table>;&quot;
DoCmd.RunSQL strSQL
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top