How to test if the table already exist using VBS

  • Thread starter Thread starter Carlos Garcia via AccessMonster.com
  • Start date Start date
C

Carlos Garcia via AccessMonster.com

Hello,

I'm looking for a sub fuction to test if a table already exist in a
database using VBS, before I execute the function creatobject. Thanks.
 
You can check in the MSysObjects Table, with a simple
dlookup("Name","MSysObjects","Name='" & MyTableName & "'")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top