B
Bill Foley
Access XP in Windows 2000
I have a query that runs a report based on combo box results. I am using
the Like IIF statement to set the criteria. If I leave one particular combo
box empty or click the button that doesn't filter any information, some of
the records aren't showing up in the report. These relate to the fields
that don't have values in them. I was thinking that using the "*" in the
IIF statement would include all if nothing is selected. Obviously not.
An example of a statement is:
Like
IIf(IsNull([Forms]![frmMyForm]![cboMyCombo]),"*",[Forms]![frmMyForm]![cboMyC
ombo])
Any ideas how to include records that have do data in certain fields that
have the ability to be filtered in the combo box?
I have a query that runs a report based on combo box results. I am using
the Like IIF statement to set the criteria. If I leave one particular combo
box empty or click the button that doesn't filter any information, some of
the records aren't showing up in the report. These relate to the fields
that don't have values in them. I was thinking that using the "*" in the
IIF statement would include all if nothing is selected. Obviously not.
An example of a statement is:
Like
IIf(IsNull([Forms]![frmMyForm]![cboMyCombo]),"*",[Forms]![frmMyForm]![cboMyC
ombo])
Any ideas how to include records that have do data in certain fields that
have the ability to be filtered in the combo box?