Re: Check if Table existsin the database by Han
Han
Wed Jul 16 02:33:12 CDT 2003
/on error resume next/ is one way.
on error resume next
connection.execute "create table table1 (c1, text)"
msgbox err.number
Always you should have a table. Or, openschema,
set r=connection.openSchema(20)
r.filter="table_name='table-name'"
msgbox r.bof
"tim" <timlee@hkem.com> wrote in message
news:095d01c34b67$2c1b57d0$a101280a@phx.gbl...
> My objective is to check the TABLE in the MS Access
> database whether it exists or not. If not, I will create
> anre TABLE. Grateful if you could help!
> I thought this should be quite easy but I could not find
> any source on the Interent! Thanks in advance!