R
Robert H
I have two criteria in a query that are set by ComboBoxes in a form.
The query works correctly when something is selected. Sometimes one
of the Comboboxes will not be selected and I assume the value will be
null. I've tried variations of the following expression in the
criteria box for the criteria that may not exists.
IIf([Forms]![frmBumpConfig]![cboCode] Is Not Null And <>"",[Forms]!
[frmBumpConfig]![cboCode],Null)
I have also tried "" in the «falsepart» of the IF function.
The results are always empty when the cboCode combobox is not
activated.
I just want the criteria for the Code field to be ignored is there is
no selection.
The query works correctly when something is selected. Sometimes one
of the Comboboxes will not be selected and I assume the value will be
null. I've tried variations of the following expression in the
criteria box for the criteria that may not exists.
IIf([Forms]![frmBumpConfig]![cboCode] Is Not Null And <>"",[Forms]!
[frmBumpConfig]![cboCode],Null)
I have also tried "" in the «falsepart» of the IF function.
The results are always empty when the cboCode combobox is not
activated.
I just want the criteria for the Code field to be ignored is there is
no selection.