Hi,
I try to imbricate conditions in a Mail Merge document.
When I write
«{IF {MERGEFIELD Field_1} = True "OK" "{IF {MERGEFIELD
Field_2} = True "OK" "ABORT" }" }»
I have no problem.
And when I write
«{IF {MERGEFIELD Field_1} = True "OK" "Field 2 is {IF
{MERGEFIELD Field_2} = True "OK" "ABORT" }" }»
the Word document can close itself but it's impossible for
me to reopen it.
I find it strange, I tought it used to work ???
Could it be a virus even if I found none with VShield ?
Could it be a problem with my Normal.dot ?
I use Office 97 on a Windows NT OS.
Thanks.
Peter Jamieson - 17 Jan 2004 06:34 GMT
I don't know why you are getting a crash but in any case, AFAIK there are no
circumstances in which the comparison
{ MERGEFIELD Field_1 } = True
will work as you intended, except possibly by chance.
You probably need either
{ MERGEFIELD Field_1 } = 0
or
{ MERGEFIELD Field_1 } = "True"
(and perhaps you would need to switch the true/false result texts around)
depending on what values
{ MERGEFIELD Field_1 }
actually displays on its own.
--
Peter Jamieson - Word MVP
Word MVP web site http://word.mvps.org/
Hi,
I try to imbricate conditions in a Mail Merge document.
When I write
?{IF {MERGEFIELD Field_1} = True "OK" "{IF {MERGEFIELD
Field_2} = True "OK" "ABORT" }" }?
I have no problem.
And when I write
?{IF {MERGEFIELD Field_1} = True "OK" "Field 2 is {IF
{MERGEFIELD Field_2} = True "OK" "ABORT" }" }?
the Word document can close itself but it's impossible for
me to reopen it.
I find it strange, I tought it used to work ???
Could it be a virus even if I found none with VShield ?
Could it be a problem with my Normal.dot ?
I use Office 97 on a Windows NT OS.
Thanks.