Thanks for the suggestion. I was referring to an ordinary document with
multiple includetexts, not a Word master doc. I was trying to avoid the need
for two complete versions of the same document, because the document itself
has so many pieces of variable text and included documents. Any changes would
mean finding and updating in multiple locations. The real goal is simply to
vary the font size based on the value of a field. It seems like there ought
to be some way to do that without mantaining two sets of documents. Any other
thoughts?
First, to go back to your "1" or "2" problem, you gave the syntax as
{ IF MERGEFIELD VIP = "True" "
" "signature"}
But can we assume you are actually using
{ IF { MERGEFIELD VIP } = "True" "
" "signature"}
(If it is actually the former, I think you would normally see "VIP" as the
result, but that may not be the only possibility).
Second,
> vary the font size based on the value of a field. It seems like there
> ought
> to be some way to do that without mantaining two sets of documents.
Unfortunately, not a simple option. It would be easier if you could do
something like
{ INCLUDETEXT "xyz" \s 10 }
where \s set a font size, as in the SYMBOL field, but there is no such
switch for other field types, or if there was a field that let you set up
the characteristics of a paragraph or character style, but there is not such
field type.
Nor can you do
{ IF { MERGEFIELD Require_Large_print } = "True"
"{ SET fontsize 20 }"
"{ SET fontsize 10 }" }
then e.g.
{ { SYMBOL 73 \f "Times New Roman" \s { REF fontsize } }NCLUDEFILE "xyz"
\*Charformat }
because the first keyword in a field has to be plain text - it cannot be
constructed from other fields.
So I think that leaves you with
a. the method you already have, and trying to make that work
b. using VBA and the mailmerge events to go through the document (s) fixing
the font sizes for each record in the data source. In some scenarios that
might work quite well, but if you are close to succeeding with (a) it is
probably worth persevering.
Other than that, no other suggestions.
Peter Jamieson
> Thanks for the suggestion. I was referring to an ordinary document with
> multiple includetexts, not a Word master doc. I was trying to avoid the
[quoted text clipped - 80 lines]
>> > Any help or suggestions for what to look at would be greatly
>> > appreciated.
Judy - 05 May 2005 15:51 GMT
I am actually using the latter syntax ( { IF { MERGEFIELD VIP } = "True" "
" "signature"} ) which I typed incorrectly in my original post. So I'm still
very puzzled as to where my "1"s and "2"s are coming from. Thank you for all
your input. I didn't think there was a simple font size option since I
couldn't find one, but I was hoping I had overlooked something because it
seems intuitive (to me, at least) that there *should* be such an option. Very
frustrating, but I'll keep plugging away. I appreciate the responses.