• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 172
  • Last Modified:

ASP SQL query for Null values not working

have a query that is returning no results although I know that there arecords that should be true.

Here is the query, also what would this query be for SQL database?

objRS.Open "SELECT DISTINCT cis FROM cmpnull WHERE cmpnull.OS = '" & strOS & "' AND cmpnull.cmpbldlbl isNULL",objConnection,3,3
0
tmurray22
Asked:
tmurray22
1 Solution
 
Ryan ChongCommented:
objRS.Open "SELECT DISTINCT cis FROM cmpnull WHERE cmpnull.OS = '" & strOS & "' AND cmpnull.cmpbldlbl is NULL",objConnection,3,3
0
 
tmurray22Author Commented:
Thanks, that worked, I read that the syntax in access was "isNull"
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now