View Single Post
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Amdious Amdious is offline
external usenet poster
 
Posts: 3
Default Field codes: MergeField field RTF format problem

Hello,
I'm trying to figure out why something changed from Word 97 to Word 2003.
I'm inserting a basic MergeField into a Word .doc file contained within a
formatted line.

ie.
Why does MergeField «TEST» Kill the tab in WordPad

I have a left indent before the "Why" so I get a \li720 for the format of
"Why does..." and when I insert the «TEST» mergefield in appends a \sectd to
the end of the field keyword section that terminates the formatting and if I
open the file in WordPad the left indent is removed.

ie.

Why does MergeField «TEST» Kill the tab in WordPad


It's simple enough to reproduce by creating a new file, move the left indent
margin to the right, write some words, insert the MergeField write more
words, then save the file as RTF. Open the file in WordPad and the \liN will
not be recognized. I tried the same thing in Word 97 and the \sectd is NOT
applied to the end of the MergeField. I believe Office 2000 will not apply
the \sectd either. The file looks fine in Word, but not in WordPad. I'm
guessing the \sectd was applied on purpose, but I need to know why and how to
have it removed such that I can retain the line formatting.

Thank you in advance.