Multiple records in one document

D

David

I am automating a mail merge and need to include multiple records on
one document. I create the data source document with the following
fields:

ClientID
Account#

Some clientids will have more than one account, some will have only
one. In my merge document, I want to be able to list all of the
accounts for one client on one document instead of printing a new
document for each account. Any ideas on how to do this?

Thanks.
 
C

CheapTequila

I have a similar problem - I'm using an MS Access database as a data
source. It was suggested that I create a query in MS Access to "join"
accounts that had multiple accounts together so that in one record in
MS Access I wind up with something like:
Account Info 1 xyz^* Account Info 2 xyz^* Account Info 3
When I merge this into my word doc, these will all be on one line - I
need them on separate lines, so then I'll do a search and replace, and
replace "xyz^*" (or whatever strange unique string I use in MS Access)
with a line feed. Haven't tried the MS Access Join part yet, but the
search and replace in Word works.
 
D

Doug Robbins - Word MVP

You should use an Access report.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

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