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

Tip: Looking for answers? Try searching our database.

Can NEXTIF compare ADJACENT RECORDS?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jason Krug - 22 Jul 2004 18:12 GMT
Hello-

I have worked with CINDY's WWW Page.

This solution uses the MS Knowledge Base
(http://support.microsoft.com/?kbid=105888) with SET, IF,
NEXTIF.

This example proceeds with the next record, based upon
the CHECK FLAG in the CURRENT RECORD.  I can't do a last
record FLAG since selection criteria will pick different
records.

I would like to PROCEED to the NEXT record, if the NEXT
record has the same NAME as the CURRENT RECORD?

I am sending an email to people.
The people have multiple projects.
If R1 EMAIL-ADDRESS = R2 EMAIL-ADDRESS, then NEXT RECORD?

I was trying:
{SET LETTEREMAIL {MERGFIELD EMAIL} }
The Body Text
{MERGFIELD PROJECT}
{NEXTIF {MERGEFIELD EMAIL} = {LETTEREMAIL}}
{MERGFIELD PROJECT}

As you would guess, this is ALWAYS true, since MERGEFIELD
is always the current record.
I do not see a way to go BACK a record?  To the PREVIOUS
record?

Is there a way to do that?

--Jason
Graham Mayor - 23 Jul 2004 11:16 GMT
You cannot 'go back' but

http://support.microsoft.com/?kbid=181730
http://support.microsoft.com/?kbid=211303
and
http://support.microsoft.com/?kbid=302665
may point a way forward

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
    Graham Mayor -  Word MVP

  Web site www.gmayor.com
 Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>

> Hello-
>
[quoted text clipped - 31 lines]
>
> --Jason
Jason Krug - 23 Jul 2004 18:56 GMT
Graham-

Thank you, this is pretty clever.
I got it to work as described, but this does not work for
EMAILS. :(

This works well for DOCUMENTS since it uses a PAGE BREAK
to separate the actual letters.  However, the EMAIL MERGE
creates a NEW EMAIL for each record.  Therefore the
results are not as desired. :(

Is there a way to look forward to the next record, rather
than remember the previous record?  I saw a MACRo that
took the DOCUMENT and made separate print jobs, is there
a MACRO to send to different email addresses?

SO CLOSE GRAHAM!   THANK YOU FOR YOUR RESPONSE!
My problems do get help all the time.
--Jason

>-----Original Message-----
>You cannot 'go back' but
[quoted text clipped - 42 lines]
>
>.
 
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.