If Then Else = Fail
From
MP1985@21:1/5 to
All on Mon Feb 19 00:01:42 2018
Never had this big a struggle with if then, but then I've never
introduced a second variable.
This works fine and dandy:
{ IF { MERGEFIELD f3 } = "Y" "{ MERGEFIELD f18 }" "{ MERGEFIELD f2 }
(If party is a child, insert this name, if not insert that name).
It's when I go for two conditions to describe that it just will not
pull...
(If party is a child, insert this name, if party is deceased, pull this
name, if not insert that name).
{ IF { MERGEFIELD f3 } = "Y" "{ MERGEFIELD f18 }" { IF { MERGEFIELD f5 }
= "Y" "{ MERGEFIELD f18 }" "{ MERGEFIELD f2 }" }
{ IF { MERGEFIELD f3 } = "Y" { IF { MERGEFIELD f5 } = "Y" "{ MERGEFIELD
f18 }" "{ MERGEFIELD f2 }" }
I would ordinarily not put so many conditionals, but being able to
accomplish these two situations will prevent my tired soul from having
to create dozens of extra merge docs.
Anyone got any ideas? Thanks!
--
MP1985
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)