Anyone who know how to display a "selected text" (i.e "Unknown business") when data from Access query calculation shows "#n/a"?
I've tried this:
Branch title: IIf(IsNull([Branchtitle]![Branchtitle]),"Unknown business",IIf(IsError([Branchtitle]![Branchtitle]),"Unknown business",[Branchtitle]![Branchtitle]))
It almost went well... though the 'Iserror' function do not return "Unknown business" but the text/value "Unknown" in the data field (instead of "#n/a"), as this function only verify whether a statement is true or false. Is there any way I can direct it to write/give the text "Unknown business". Or maybe there is an option / workaround I missed out?
-------
M.-)
I've tried this:
Branch title: IIf(IsNull([Branchtitle]![Branchtitle]),"Unknown business",IIf(IsError([Branchtitle]![Branchtitle]),"Unknown business",[Branchtitle]![Branchtitle]))
It almost went well... though the 'Iserror' function do not return "Unknown business" but the text/value "Unknown" in the data field (instead of "#n/a"), as this function only verify whether a statement is true or false. Is there any way I can direct it to write/give the text "Unknown business". Or maybe there is an option / workaround I missed out?
-------
M.-)
Last edited: