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 / June 2004

Tip: Looking for answers? Try searching our database.

Using a value to produce X number of records

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RF - 03 Jun 2004 09:13 GMT
Hey all,

I have a string in which i want to drop variables into and produce a large
list of these. The problem is the last variable i am working with. This
digit represent the number of records i want to create. ie:

State    Type    Number
AAA    Car        2
BBB     Boat      3

To then produce this merge:

AAA Car 1
AAA Car 2
BBB Boat 1
BBB Boat 2
BBB Boat 3

Is this possible?

Thanks for any advice

Richard
Cindy M  -WordMVP- - 03 Jun 2004 16:18 GMT
Hi Rf,

You can probably manage to do it, using the technique described in this
Knowledge Base article

http://support.microsoft.com?kbid=211303
HOW TO: Use Mail Merge to Create a List Sorted by Category in Word 2000

Just increment a "counter" (SET field) and each time you loop, check whether
it's greater than that third field, switching when it does. (IOW, instead of
checking when the field content changes, check when that number has been
exceeded.)

> I have a string in which i want to drop variables into and produce a large
> list of these. The problem is the last variable i am working with. This
[quoted text clipped - 11 lines]
> BBB Boat 2
> BBB Boat 3

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
RF - 05 Jun 2004 05:42 GMT
Thanks, I'll give it a go and see what happens

Richard

> Hi Rf,
>
[quoted text clipped - 32 lines]
> This reply is posted in the Newsgroup; please post any follow question or
> reply in the newsgroup and not by e-mail :-)
 
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.