Hi Roy,
Try:
{foo} and {bar}
or:
{REF foo} and {REF bar}
More generally, for a many-to-one directory mail merge, check out my Word 97-2007 Catalogue/Directory Mailmerge Tutorial at:
http://lounge.windowssecrets.com/ind...owtopic=731107
or
http://www.gmayor.com/Zips/Catalogue%20Mailmerge.zip
Do read the tutorial before trying to use the mailmerge document included with it.
--
Cheers
macropod
[Microsoft MVP - Word]
"FUBARinSFO" wrote in message ...
Hi:
In working through the logic of a many-to-one directory mail merge,
I've created some variable with the {SET var} expression:
[SET foo {MERGEFIELD F1}}
{SET bar {MERGEFIELD F2}}
and I'm testing them, as with
{IF foo bar "true" "false"}
But I haven't been able to figure out how to display the actual
current values of 'foo' and 'bar' in the document so I can debug the
logic.
I've tried:
foo= {foo}
bar= {bar}
but it doesn't do it.
Thanks in advance.
-- Roy Zider