AllowFilters Property Example
The following example shows a function that toggles a form's AllowFilters property on and off:
Function ToggleAllowFilters() As Integer Forms!Customers.AllowFilters = Not Forms!Customers.AllowFilters End Function