If the check box is null (grey) - the default value, I do not want to include it is the sql statement. If I use the code below I get the error 94 Invalid use of null. How else can I exclude this ststement is the check box is grey.
thanks
thanks
Code:
If CheckStaged Then
strWHERE = strWHERE & " AND s.Staged = " & CheckStaged
End If