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

Deleting an Access Table using VB.

Status
Not open for further replies.

Gaff

Programmer
Dec 13, 2001
30
0
0
IE
I'm trying to Delete an Access table using VB. I don't even know if this is possible. I couldn't even do it using SQl in Access. I know in Oracle there is the DROP table method and i was wondering if there is any similar method in Access, and then i could just execute it from the VB frontend. Thanks.
 
DROP is an SQL statement and is used to delete links to tables.

If you want to delete a local table (not linked) in VB then use DoCmd.DeleteObject.

Does this help?

Ed Metcalfe.
 
Ya that is exactly what i wanted.Works fine. Thanks Ed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top