Johnnycat1
Programmer
I have a combo box on a form that is based on "Yes/No" data type. The combo box is used to filter data in a subform that is also "yes/no" data. This code works just fine when it is based on "Text" datatypes but is erroring out when I try to apply it to the "Yes/No" data type.
This is the code:
Private Sub Combo28_AfterUpdate()
With Forms![Job # Project PSR Form]![Job # Project PSR SubForm].Form
.Filter = " [PSR] ='" & Forms![Job # Project PSR Form]![Combo28] & "'"
.FilterOn = True
End With
End Sub
Any suggestions???
As always, your help is much appreciated!
This is the code:
Private Sub Combo28_AfterUpdate()
With Forms![Job # Project PSR Form]![Job # Project PSR SubForm].Form
.Filter = " [PSR] ='" & Forms![Job # Project PSR Form]![Combo28] & "'"
.FilterOn = True
End With
End Sub
Any suggestions???
As always, your help is much appreciated!