I have a form with 4 combo boxes that are the criteria for a query.
I had seen where someone had used the nz function to turn a null value into a nil string and pass it back to the query if no value was selected for some of the combo boxes. It was something like this:
iif(nz([forms]![frmGeneratorSearch]![combo2], ""),
[Manufacture],[forms]![frmgeneratorsearch]![combo2])
This is just for one of the combo boxes, but I don't have the syntax correct.
Can anyony help?
Thanks
I had seen where someone had used the nz function to turn a null value into a nil string and pass it back to the query if no value was selected for some of the combo boxes. It was something like this:
iif(nz([forms]![frmGeneratorSearch]![combo2], ""),
[Manufacture],[forms]![frmgeneratorsearch]![combo2])
This is just for one of the combo boxes, but I don't have the syntax correct.
Can anyony help?
Thanks