This documentation is archived and is not being maintained.

Form.ServerFilterByForm Property (Access)

You can use the ServerFilterByForm property to specify or determine whether a form is opened in the Server Filter By Form window. Read/write Boolean.

expression .ServerFilterByForm

expression A variable that represents a Form object.

The default value is False.

You can remove a filter by using Visual Basic to set the ServerFilterByForm property to False.

Note Note

The ServerFilterByForm property setting is ignored if the form's record source is a stored procedure.

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