Thread: Last Record
View Single Post
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor
 
Posts: n/a
Default Last Record


If you set a custom docproperty containing the number of records merged then

{ IF{ MergeSeq } = { DocProperty NumRecords } "This is the end of the
file" }

should work.

--

Graham Mayor - Word MVP

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


Joshann wrote:
I need to be able to add text after the last (and only last) record
when merging. In other words, I need to be able to use an IF
statement to determine whether or not it's on the last record. If it
is, add some text. Is there any way to do this?