Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / January 2004

Tip: Looking for answers? Try searching our database.

Mail merge with only one merge field

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mystery Man - 08 Jan 2004 02:02 GMT
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?
Graham Mayor - 08 Jan 2004 07:37 GMT
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.

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
    Graham Mayor -  Word MVP
      E-mail gmayor@mvps.org
     Web site www.gmayor.com
 Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>

> We are now using mailmerge very successfully for document assembly
> with a number of different documents.
[quoted text clipped - 26 lines]
> I can add a dummy field to the output data field, but is there a
> better way?
Stuart - 08 Jan 2004 14:22 GMT
I've always just added a dummy field to the data file.  
It's easy and works.

>-----Original Message-----
>We are now using mailmerge very successfully for document assembly
[quoted text clipped - 28 lines]
>better way?
>.
scw - 08 Jan 2004 14:50 GMT
Make sure the one record in the data file has a CRLF (new
line character) at the end of it.
>-----Original Message-----
>We are now using mailmerge very successfully for document assembly
[quoted text clipped - 28 lines]
>better way?
>.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.