I have created a mailmerge document and my problem is when I calculate two mergefields together with one of the mergefields having a zero balance I get an error. I want to eliminate the two fields from calculating if one of the fields is zero.
This statement works providing there is a numeric balance other than 0:
{={mergefield "balance1"} + {mergefield "balance2"}}
if either field is 0, then I get an error "missing string operator".
I am trying
"if balance1 = 0, display balance2,
else
if balance2 = 0, display balance1,
else
{={mergefield "balance1"} + {mergefield "balance2"}}
but my syntax with this doesn't seem to be working.
Any help would be greatly appreciated.
cramd
This statement works providing there is a numeric balance other than 0:
{={mergefield "balance1"} + {mergefield "balance2"}}
if either field is 0, then I get an error "missing string operator".
I am trying
"if balance1 = 0, display balance2,
else
if balance2 = 0, display balance1,
else
{={mergefield "balance1"} + {mergefield "balance2"}}
but my syntax with this doesn't seem to be working.
Any help would be greatly appreciated.
cramd