 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
shawn29316
Joined: 27 Dec 2007 Posts: 27 Country: United States |
|
Can't run query if ACCESS table exists |
|
I'm trying to run an SQL query which creates a table in an ACCESS database. The problem is that it runs fine if the table doesn't already exist but won't run if the table is already there. How can I just overwrite the old table?
|
|
Thu Feb 21, 2008 1:40 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7949
|
|
|
|
 |
 |
OnErrorResumeNext
DatabaseExecute "DROP TABLE my_table", rows
OnErrorStop |
|
|
Thu Feb 21, 2008 4:36 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|