共用方式為


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.

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

See Also

Concepts

Form Object Members

Form Object