P
PJFry
I am trying to pass a filter value based on a combo box.
If IsNull(Forms!fReporting!cboVendor) Then
vFilter = ""
Else
vFilter = "lngVendorID = '" & Forms!fReporting!cboVendor & "'"
End If
If cboVendor does not have a value, then I want vFilter="", but I keep
getting the null error. How do you get around that?
Thanks!
PJ
If IsNull(Forms!fReporting!cboVendor) Then
vFilter = ""
Else
vFilter = "lngVendorID = '" & Forms!fReporting!cboVendor & "'"
End If
If cboVendor does not have a value, then I want vFilter="", but I keep
getting the null error. How do you get around that?
Thanks!
PJ