ACC: How to Test a User-Defined Filter in Filter By FormLast reviewed: August 28, 1997Article ID: Q154060 |
The information in this article applies to:
SUMMARYModerate: Requires basic macro, coding, and interoperability skills. This article describes how to test the validity of a user-defined filter when using the Filter By Form feature of Microsoft Access. The sample procedure demonstrates some of the validation techniques you can use to ensure that the filter you apply to the form returns records. 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.
MORE INFORMATIONIn this example, if the filter you apply does not return any records, a message appears, and you return to the Filter By Form screen to retry the filter:
REFERENCESFor more information about OnFilter and OnApplyFilter, type "Filters and OnApplyFilter," in the Office Assistant, click Search, and then click to view the appropriate topic.
|
Additional query words: Validate FormFilter Count Query
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |