G
Guest
My query results do not return the records when there is an empty or null
value in any one field. Below is the my query. How would I modify this allow
the empty or null values. Thanks for yoru help.
strSQL = "SELECT * "
strSQL = strSQL & "FROM Posts INNER JOIN Signs ON Posts.PostID =
Signs.PostID "
strSQL = strSQL & "WHERE (((SIGNS.SignType) like """ & Me![cboSignType] &
""") "
strSQL = strSQL & " AND ((Signs.SignID) Like """ & Me![cboSignID] & """) "
strSQL = strSQL & " AND ((Signs.SignSize) Like """ & Me![cboSignSize] & """)"
strSQL = strSQL & " AND ((Signs.SignDescription) Like """ & Me![cboSignDesc]
& """))"
value in any one field. Below is the my query. How would I modify this allow
the empty or null values. Thanks for yoru help.
strSQL = "SELECT * "
strSQL = strSQL & "FROM Posts INNER JOIN Signs ON Posts.PostID =
Signs.PostID "
strSQL = strSQL & "WHERE (((SIGNS.SignType) like """ & Me![cboSignType] &
""") "
strSQL = strSQL & " AND ((Signs.SignID) Like """ & Me![cboSignID] & """) "
strSQL = strSQL & " AND ((Signs.SignSize) Like """ & Me![cboSignSize] & """)"
strSQL = strSQL & " AND ((Signs.SignDescription) Like """ & Me![cboSignDesc]
& """))"