A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Using a value to produce X number of records



 
 
Thread Tools Display Modes
  #1  
Old June 3rd, 2004, 09:13 AM
RF
external usenet poster
 
Posts: n/a
Default Using a value to produce X number of records

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



  #2  
Old June 3rd, 2004, 04:18 PM
Cindy M -WordMVP-
external usenet poster
 
Posts: n/a
Default Using a value to produce X number of records

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
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


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 :-)

  #3  
Old June 5th, 2004, 05:42 AM
RF
external usenet poster
 
Posts: n/a
Default Using a value to produce X number of records

Thanks, I'll give it a go and see what happens

Richard

"Cindy M -WordMVP-" wrote in message
news:VA.000099f0.00ec598d@speedy...
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
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


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 :-)



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:53 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.