Re: parameter with iif statement in query criteria
- From: Marshall Barton <marshbarton@xxxxxxxxxx>
- Date: Mon, 28 Apr 2008 17:46:34 -0500
Doug Glancy wrote:
Win XP Access 2003
In a select query, I want the criteria to be "Is Not Null" if the parameter
is left blank and for the query to not filter on that field. Otherwise I
want to filter based on the parameter. Among many other things, I've tried
this:
Field: Funder
Criteria: IIf([strPassedFunder] Is Null,Is Not Null,[strPassedFunder])
Try using the criteria:
=[strPassedFunder] OR [strPassedFunder] Is Null
--
Marsh
MVP [MS Access]
.
- Follow-Ups:
- Re: parameter with iif statement in query criteria
- From: Doug Glancy
- Re: parameter with iif statement in query criteria
- References:
- parameter with iif statement in query criteria
- From: Doug Glancy
- parameter with iif statement in query criteria
- Prev by Date: RE: Switch formula in query results in "Text too long to be edited."
- Next by Date: Re: Query Not working with newly imported table
- Previous by thread: Re: parameter with iif statement in query criteria
- Next by thread: Re: parameter with iif statement in query criteria
- Index(es):
Relevant Pages
|