i have a simple form that I want to filter on the update of a combo box.
i use the following code
where TxtCbo is a Text Box on the form and TableValue is a string variable that is set earlier in the code based on what choice the user chooses from the combo box.
The filter doesn't seem to work. I'm sure I've just made a small syntax error. Any help is much appreciated.
i use the following code
Code:
Me.Filter = "Me.TxtCbo.Value=" & TableValue
Me.FilterOn = True
The filter doesn't seem to work. I'm sure I've just made a small syntax error. Any help is much appreciated.