RE: IIf statement in criteria
- From: "Chip Coutts" <ChipCoutts@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 12 May 2005 13:16:04 -0700
I am embarrassed to reply to my own post, but I did find a solution...
IIf([Forms]![Switchboard]![CampusCode] Is Not
Null,([Forms]![Switchboard]![CampusCode]),([Assessments].[CampusCode]))
Thanks!
"Chip Coutts" wrote:
> I have a switchboard with an unbound combo box. If I want to display only
> the records for CampusCode=1, I pulldown that CampusCode on the switchboard,
> and the query has criteria [Forms]![Switchboard]![CampusCode], and it works
> fine. However, I would like to be able to display all records in the table
> if nothing is selected in the pulldown. I have tried
> IIf([Forms]![Switchboard]![CampusCode] Is Not
> Null,[Forms]![Switchboard]![CampusCode],????)
> The True condition works, but I cannot get the False condition to return all
> records.
> Any thoughts?
.
- References:
- IIf ststement in criteria
- From: Chip Coutts
- IIf ststement in criteria
- Prev by Date: IIf ststement in criteria
- Next by Date: Re: Changing Row Data into Column Data
- Previous by thread: IIf ststement in criteria
- Index(es):
Relevant Pages
|