B
Brad
Thanks for taking the time to read my question.
I have a field in a query that I want to apply an iif statement to in the
criteria. If cboX = "Blank" then "*" else cboX
CODE
-------
IIf([Forms]![frmReportGenerator]![cbo_ProdNumCM]="Blank","*",[Forms]![frmReportGenerator]![cbo_ProdNumCM])
--------
I can't get this to work
I've seen it done before, but can't remember where.
Can the logic also be explained, so I can remember for next time?
Thanks again for your help.
Brad
I have a field in a query that I want to apply an iif statement to in the
criteria. If cboX = "Blank" then "*" else cboX
CODE
-------
IIf([Forms]![frmReportGenerator]![cbo_ProdNumCM]="Blank","*",[Forms]![frmReportGenerator]![cbo_ProdNumCM])
--------
I can't get this to work
I've seen it done before, but can't remember where.
Can the logic also be explained, so I can remember for next time?
Thanks again for your help.
Brad