Hi,
I have a form with combo boxes, and when the user makes their selections and clicks the command button, it feeds into a query and opens a report based on that query.
The report all works fine, except this. In the header of the report I put fields that are supposed to show what the user selected in the combo boxes, and if nothing was specified, than I want those fields to read "All." I used:
=IIf([Forms]![frmBuildCustomReport]![cboContractor] Is Null,"All",[Forms]![frmBuildCustomReport]![cboContractor])
For some reason, when the report opens up it looks exactly how I want it on the screen, but when I print it, it prints these fields as "#Name?"
Can anyone assist?
I have a form with combo boxes, and when the user makes their selections and clicks the command button, it feeds into a query and opens a report based on that query.
The report all works fine, except this. In the header of the report I put fields that are supposed to show what the user selected in the combo boxes, and if nothing was specified, than I want those fields to read "All." I used:
=IIf([Forms]![frmBuildCustomReport]![cboContractor] Is Null,"All",[Forms]![frmBuildCustomReport]![cboContractor])
For some reason, when the report opens up it looks exactly how I want it on the screen, but when I print it, it prints these fields as "#Name?"
Can anyone assist?