|
-
Jun 15th, 2000, 07:53 PM
#1
Thread Starter
Lively Member
How do one delete a table in Access?
CurrentDB.OpenRecordset("myTable").Delete ?
-
Jun 15th, 2000, 08:19 PM
#2
Hyperactive Member
it's been a long while since i've done it, but from memory you could try: -
CurrentDb.Execute "DROP TABLE <Tablename>"
-
Jun 15th, 2000, 08:23 PM
#3
Member
you could do a docmd.deleteobject "<mytable>" i think
or else you could write a query that deletes the table
i think i have one hold on
.
.
.
looking
.
.
.
sql = "DROP TABLE [mytable]"
myDatabase.execute sql
thats the easiest and fastest way to do it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|