Discussion Locked

Conditional Macros

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Is there a way to run a macro only if a specific table exists in a database? I have an Access 2000 database. I want to run a delete object macro only if the table exists.

3 replies

by sgt_shultz

just 2 cents. why not just let it fail (if the table doesn't exist) maybe trap the error so that it doesn't get displayed? maybe let it get displayed... (tell 'em, 'it's not a bug, it's a feature...')

This discussion is closed to new replies.