check current mailmerge field against previous

A

a

Hello,

is it possible to check a current mailmerge filed ("NextNo") against the
previous value? i have a table which lists all people associated to a
company. i know that the max number of people is 15. so i have a table with
15 rows which will display people associated to the current company. however
if there are only 2 people associated to a company the way then the last
person is duplicated 14 times!

in each row on the table i have a "next record if", i then need a "if then
else" statement which should be:

if current value of "nextno"= previous value of nextno then show nothing
else display "Tno"

Any help would be great

Cheers
 
C

Cindy M -WordMVP-

Hi A,
is it possible to check a current mailmerge filed ("NextNo") against the
previous value? i have a table which lists all people associated to a
company. i know that the max number of people is 15. so i have a table with
15 rows which will display people associated to the current company. however
if there are only 2 people associated to a company the way then the last
person is duplicated 14 times!
The approach described in this KB article should do what you need:

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

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
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 :)
 
A

a

thanks for the reply, that was very useful after i read through it a few
times

Cheers Cindy

Graham
 

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