ACC: How to Print RecordSource Property Value for All ReportsLast reviewed: August 29, 1997Article ID: Q128879 |
The information in this article applies to:
SUMMARYModerate: Requires basic macro, coding, and interoperability skills. This article describes a procedure you can use to output a list of each report in a database and its RecordSource property value to the Debug window (or Immediate window in version 2.0). This article assumes that you are familiar with Visual Basic for Applications and with creating Microsoft Access applications using the programming tools provided with Microsoft Access. For more information about Visual Basic for Applications, please refer to your version of the "Building Applications with Microsoft Access" manual. NOTE: Visual Basic for Applications is called Access Basic in Microsoft Access version 2.0. For more information about Access Basic, please refer to the "Building Applications" manual.
MORE INFORMATIONThe Reports collection is the set of all open reports. One method to print the RecordSource property value of each report is to go through the set of Report documents, open each one in Design view, and get the RecordSource property value. This article presents a procedure that uses that method. It automatically processes all the reports defined in the database. To create the procedure, follow these steps:
Keywords : kbprg PgmHowTo PgmObj MdlGnrl RptProp Version : 2.0 7.0 97 Platform : WINDOWS Hardware : x86 Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |