chainedtodesk
Programmer
i cant seem to get the following iif statement to work in a stored procedure, is this possible? i am trying to update 3 possible table fields based on criteria collected from a table merge. thanks
=IIf([t1outcome] Is Not Null,[t1outcome]+", ","")+IIf([t2outcome] Is Not Null,[t2outcome]+", ","")+IIf([t3outcome] Is Not Null,[t3outcome]+", ","")+IIf([t4outcome] Is Not Null,[t4outcome]+", ","")+IIf([t5outcome] Is Not Null,[t5outcome]+", ","")+IIf([t6outcome] Is Not Null,[t6outcome],"")
=IIf([t1outcome] Is Not Null,[t1outcome]+", ","")+IIf([t2outcome] Is Not Null,[t2outcome]+", ","")+IIf([t3outcome] Is Not Null,[t3outcome]+", ","")+IIf([t4outcome] Is Not Null,[t4outcome]+", ","")+IIf([t5outcome] Is Not Null,[t5outcome]+", ","")+IIf([t6outcome] Is Not Null,[t6outcome],"")