mail merge in selecting records

E

ernest

I am college professor currently in Moscow RussiaI and I
have a small mailing list and publication

I have subscribers, non subscribers and expired
subscriberes

The data is in a field (subscriber) by expiration number.

I am doing a mail merge into a Word document and trying
to send a specific message to

current subscribers ( > expiration # 68)

old subscribers (those who had a subscription > 1
through 67

or non subscribers (those whose data shows 0 or nothing)

Problem is that when I do the mail merge and select the
insert world field button in the merge toolbar and go to

IF...then...else I am giving choice of blank or nonblank
fields, = to, not = to, > or <, => =< . There is no
between values availble. nor can I select > and then
write and < in the compare to box

so I cannot select the difference between subscribers >0
but < than 68.

I have been unsuccessul in tinking with the field codes

how can I successfully do a between values in the field
codes or a > and < type a query to receive a specific
text response?

what I want is if the subscriber field is greater than 68
I want a text reading "thanks for your continued
subscription"

If the subscriber field is less than 68 and greater than
0 I want a text reading "your subscription has expired"
and if it is 0 or the field is blank I want text to
read "Please subscribe"

Also, I need to know how to make sure it prints blank
lines where there is no data so the data does not migrate
down the page as the merge continues. The old Word had
that option in the mail merge to either print blank lines
or not

thank you very much.

Prof. E DUKE
an American in Moscow
 
G

Graham Mayor

That seems fairly straightforward use of nested and follow-on conditional
fields. eg

{IF {Mergefield subscriber} = 0 "please subscribe" "{IF {Mergefield
subscriber} > 67 "thanks for your continued subscription" "{IF {Mergefield
subscriber} > 0 "your subscription has expired" "please subscribe}"}"}"}

Each pair of field brackets is inserted with CTRL+F9 and watch out for the
correct placement of speech marks.

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