The information in this article applies to:
SYMPTOMS
Moderate: Requires basic macro, coding, and interoperability skills.
CAUSEThe Filter property holds the filter that will be applied when a filter is activated, but does not activate filtering. RESOLUTIONYou need to set the FilterOn property of the form to True to activate the filter. If you want the filter to be applied when the form opens, you can set the FilterOn property to True on the Open event of the Form. You can do this using either a SetValue action in a macro or through Visual Basic code, as demonstrated below. Using a Macro in the Open Event Procedure of the FormTo apply a filter when the form is opened, create the following macro and set the form's OnOpen property event procedure to this macro:
Using Visual Basic Code in the Open Event Procedure of the FormTo apply a filter when the form is opened, set the form's OnOpen property to the following event procedure:
The filter may also be applied, while the form is open, by simply clicking the Apply Filter button on the built-in toolbar or by clicking the Apply Filter/Sort option on the Records menu. STATUSThis behavior is by design. MORE INFORMATIONSteps to Reproduce Behavior
Keywords : FmsProp |
Last Reviewed: April 28, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |