H
hollyylloh
This sure seems like it should be simple but I have stared at it so long...
I have a query that checks a check box on a form.
If the check box is NOT checked then the query should return all records
except those that are null.
If the check box IS checked the query should return all the records that
equal the vaule in the field on the form named cmbProject.
The part that does not work is the first part. It currently returns no
records.
For Field: Project, Table: qryStatusReport1
IIf([Forms]![frmrptGeneralReportStatus]![chkProject]=False,[qryStatusReport1].[Project] Is Not Null,[Forms]![frmrptGeneralReportStatus]![cmbProject])
I hope you can help.
I have a query that checks a check box on a form.
If the check box is NOT checked then the query should return all records
except those that are null.
If the check box IS checked the query should return all the records that
equal the vaule in the field on the form named cmbProject.
The part that does not work is the first part. It currently returns no
records.
For Field: Project, Table: qryStatusReport1
IIf([Forms]![frmrptGeneralReportStatus]![chkProject]=False,[qryStatusReport1].[Project] Is Not Null,[Forms]![frmrptGeneralReportStatus]![cmbProject])
I hope you can help.