G
Guest
My query is trying to reference an open form's combo box in the criteria
section. I am trying (with little luck) to put in an IIF statement to alter
the outcome in the query. When I run this query, I am getting zero records
returned. The form's combo box is set on "All Chapters" in hope of pulling
up all records. Is there a piece of logic that I missing when it comes to
referencing combo boxes.
IIf([Forms]![frmConstDataSheet]![cboChapter]="All Chapters",Is Not
Null,[Forms]![frmConstDataSheet]![cboChapter])
section. I am trying (with little luck) to put in an IIF statement to alter
the outcome in the query. When I run this query, I am getting zero records
returned. The form's combo box is set on "All Chapters" in hope of pulling
up all records. Is there a piece of logic that I missing when it comes to
referencing combo boxes.
IIf([Forms]![frmConstDataSheet]![cboChapter]="All Chapters",Is Not
Null,[Forms]![frmConstDataSheet]![cboChapter])