ACC2000: Sample Code to Check for Table or Query in a Database (210398)
The information in this article applies to:
This article was previously published under Q210398 Advanced: Requires expert coding, interoperability, and multiuser skills.
SUMMARY
This article contains a sample user-defined function named IsTableQuery()
that you can use to determine whether a table or a query exists in a
database. The sample function uses the TableDefs and QueryDefs Data Access Objects (DAO) collections.
REFERENCESFor more information about the TableDefs collection, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type TableDefs collection in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information about the QueryDefs collection, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type QueryDefs collection in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdta kbhowto kbofficeprog kbProgramming KB210398 |
---|
|