Form.ServerFilterByForm property (Access)
Use the ServerFilterByForm property to specify or determine whether a form is opened in the Server Filter By Form window. Read/write Boolean.
Syntax
expression.ServerFilterByForm
expression A variable that represents a Form object.
Remarks
The default value is False.
You can remove a filter by using Visual Basic to set the ServerFilterByForm property to False.
Note
The ServerFilterByForm property setting is ignored if the form's record source is a stored procedure.
Example
The following example enables the Order Lookup form to be opened in a Microsoft Access data project in the Server Filter By Form window.
Forms("Order Lookup").ServerFilterByForm = True
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.