Solved

criteria: is not null doesn't work on an expression

Posted on 2004-09-01
2
590 Views
Last Modified: 2010-05-18
the expression:

HasValue: IIf(Not IsNull([column_a]) And Not IsNull([column_b]) And Not IsNull([column_c]),"T","")

cannot accept the criteria: is not null

how can i limit my query to do this
0
Comment
Question by:manoj91
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 41

Accepted Solution

by:
shanesuebsahakarn earned 350 total points
ID: 11959495
Whereabouts are you trying to use the criteria? What version of Access are you using btw?

The above expression will never be null - it will either equal "T" or "".Try:
<>""
0
 

Author Comment

by:manoj91
ID: 11959511
access 2002
Field: HasValue: IIf(Not IsNull([FName_Council]) And Not IsNull([LName_Council]) And Not IsNull([CompName_Council]),"T",null)
Criteria: Is Not Null

that works, tks.
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question