dominicgingras
Technical User
I have two combo box on a form that I use to filter data.
I use a button with the following code:
DoCmd.ApplyFilter "", "[field1] = '" & Me.Cmbox1 & "' and [field2]= '" & Me.Cmbox2 & "'"
How can I return a all value(*) if the combo box is empty
I could use a combination of Nz(xxx,like"**) but so far I had no success.
Any Idea?
I use a button with the following code:
DoCmd.ApplyFilter "", "[field1] = '" & Me.Cmbox1 & "' and [field2]= '" & Me.Cmbox2 & "'"
How can I return a all value(*) if the combo box is empty
I could use a combination of Nz(xxx,like"**) but so far I had no success.
Any Idea?