Tico wrote:
I still can't see it there. Sorry.
Click the waving note near the bottom of the Home page.
I used the .doc from you and I replaced the spaces in the field names
with underscores.
At the moment all 5 pages are processed but the condition "\" is
still not checked so I get 40 pages as result (8 records in my example by
5
pages).
I'm not having the best of days
There was an error in my syntax that wouldn't have helped
. It should have
read:
{ IF { MERGEFIELD I } "\" "{ Includetext "c:\\test\\Sz_I.doc" \*
MERGEFORMAT }" ""}{ IF { MERGEFIELD II_bez } "\" "{ Includetext
"c:\\test\\Sz_II.doc" \* MERGEFORMAT }" "" }{ IF { MERGEFIELD II_str }
"\" "{ Includetext "c:\\test\\Sz_II_s.doc" \* MERGEFORMAT } " "" }{ IF {
MERGEFIELD III_bez } "\" "{ Includetext "c:\\test\\Sz_III.doc" \*
MERGEFORMAT }" "" }{ IF { MERGEFIELD III_str } "\" "{ Includetext
"c:\\test\\Sz_III_s.doc" \* MERGEFORMAT }" ""}
There appears to be an issue with the slash character '\' that you have used
in the test fields. I would suggest replacing that with '1' or 'A' and
changing the conditional fields accordingly.
The other problems may relate to the fact that you are working in a
different language which I don't understand and which I cannot entirely
reproduce here so I regret I am unable to help you further to get this to
produce exactly what you want.
--
Graham Mayor - Word MVP
My web site
www.gmayor.com
Word MVP web site
http://word.mvps.org