Thread: Next Record IF
View Single Post
  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Next Record IF

If you got a virus, it didn't come from this download - at least not the
copy on my site - and the tutorial includes all the example material you
need - which is why the writer suggested reading the instructions first!

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org




AGolden wrote:
This is why I usually don't post on message boards. The tutorial
wasn't helpful since it didn't actually have an example of code that
I could use and it gave my PTA laptop a virus.

No such thing as an easy answer.

"Peter Jamieson" wrote:

The solution Macropod just mentioned is probably also applicable to
your problem:

------------------
To see how, check out my Word 97-2007 Catalogue/Directory Mailmerge
Tutorial at:
http://www.wopr.com/index.php?showtopic=731107
or
http://www.gmayor.com/Zips/Catalogue%20Mailmerge.zip
Do read the tutorial before trying to use the mailmerge document
included with it.
------------------

Peter Jamieson

http://tips.pjmsn.me.uk
Visit Londinium at http://www.ralphwatson.tv

AGolden wrote:
I'm attempting to create a Mail Merge document based on an Access
query of student data with a high level 'Parent' with one or
multiple 'child' records.


I've read up on the NextIF or Next Record IF function but the
syntax isn't working. I'm trying to compare an ID of the current
record against the ID of the next record and when they are the
same, print the next 'child' record. If not, then go to the next
page.

Any help would be appreciated.