TextBox.FilterLookup Property (Access)
You can use the FilterLookup property to specify whether values appear in a bound text box control when using the Filter By Form or Server Filter By Form window. Read/write Byte.
Syntax
expression .FilterLookup
expression A variable that represents a TextBox object.
Remarks
The FilterLookup property uses the following settings.
Setting |
Visual Basic |
Description |
---|---|---|
Never |
0 |
The field values aren't displayed. You can specify whether the filtered records can contain null values. |
Database Default |
1 |
(Default) The field values are displayed according to the settings under Filter lookup options on the Current Database tab of the Access Options dialog box, available by clicking the Microsoft Office Button and the clicking Access Options. |
Always |
2 |
The field values are always displayed. |
You can also set the default for this property by setting a control's DefaultControl property in Visual Basic.