Hi:
I run into the following problem where I would use CreateQuerydef to create
a new Table and then use "Execute" to execute the statement. However, I
keep getting an error message saying that the table already exists! (Error
3010 Table already exists). But I made sure that the table were dropped
before I executed the statement and I went into the database to check that
the table was deleted before I ran the "execute" statement. Here are my
codes:
On Error Resume Next
sSql = "Drop Table " & sTableName
conData.Execute sSql
Set qdf = conData.CreateQueryDef("", _
"CREATE TABLE " & sTableName & " (DelimitedFields TEXT 255))")
qdf.Execute
Can somebody please tell me why I keep getting the error message ( Error
3010 Table already exists )?