Mail merge with only one merge field

M

Mystery Man

We are now using mailmerge very successfully for document assembly
with a number of different documents.

However, if we have only ONE field in the data file that is to be
merged, then word is bringing up a dialog with the following text:

Data fields must be separated from each other by a character called a
field delimiter. Similarly, data records must be separated by a record
delimiter. Use the lists below to select the appropriate delimiter

The source data file basically contains:

FieldName<nl>
FieldValue<nl>
<EOF>

The user has to press OK to continue with the merge

If we have two fields, like in the example below then the dialog does
not appear.

FieldName1,FieldName2<nl>
FieldValue1,FieldValue2<nl>
<EOF>

We want the merge to happen without user involvement, so we want this
dialog to not appear.

I can add a dummy field to the output data field, but is there a
better way?
 
G

Graham Mayor

Word is simply asking what to do with this data file. If you accept the
defaults from that message box ie no field delimiter and a return as record
delimiter the merge should proceed normally. Alternatively if your data is a
word file, select the column and convert text to table. A single column
table as a data file shouldn't throw up the warning.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
Graham Mayor - Word MVP
E-mail (e-mail address removed)
Web site www.gmayor.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
 
S

scw

Make sure the one record in the data file has a CRLF (new
line character) at the end of it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top