G
Guest
I have a test box that combines several fields using IIf statment
=IIf([cofa]=-1,"AAAAAA") & IIf([cofconf]=-1," , BBBBBB") &
IIf([cofcomp]=-1," , CCCCC")
My problem is with the comma if [cofa]=0 and [cofconf]=-1 or [cofcomp]=-1
then the ouput will be
,BBBBBB or ,CCCCC
How to manage the comma to appear only , if there is a value before it.
Thank you for your help
=IIf([cofa]=-1,"AAAAAA") & IIf([cofconf]=-1," , BBBBBB") &
IIf([cofcomp]=-1," , CCCCC")
My problem is with the comma if [cofa]=0 and [cofconf]=-1 or [cofcomp]=-1
then the ouput will be
,BBBBBB or ,CCCCC
How to manage the comma to appear only , if there is a value before it.
Thank you for your help