Hi
i have following code for format mailmerge field
{ MERGEFIELD "Price" \# $#,### }
its working fine.My probelm is if i have a NULL value return from DB its display as $ Symbol alone.My reqiurement is it should display as $0 if the value is null
Hi
i have following code for format mailmerge field
{ MERGEFIELD "Price" \# $#,### }
its working fine.My probelm is if i have a NULL value return from DB its display as $ Symbol alone.My reqiurement is it should display as $0 if the value is null
Hi Ajeesh,
Thanks for the additional information.
In that case, you can wrap your merge field in an IF field based off this condition. Please modify your template as below:
{ IF "{ MERGEFIELD "Price" \# $#,### }" = "$" "$0" "{ MERGEFIELD "Price" \# $#,### }" }
I hope this will help.