This sounds so simple I'm certain I'm missing something.
Is there something along the lines of { NumRec } that would give the total number of records in the datasource for a mailmerge.
For background what I'm trying to do is to control the mail merge. I'm using the NEXT mergefield to show more than one record on a page, but I want to do a NEXTIF and only move onto the next record if the last record hasn't already been reached.
As it is, I am just using NEXT but I am dealing with small (varying) numbers of records. There are some fields that share the same data with all the other records, and then some fields with unique data for each record.
Essentially, there is a section in the middle of the merge doc that I need to show the unique data for each record, followed by a section at the bottom that shows the shared data. But the NEXT fields above that seem to move past the last record, and then all the shared fields come up as blank.
Any ideas?
As always, any help is much appreciated
Is there something along the lines of { NumRec } that would give the total number of records in the datasource for a mailmerge.
For background what I'm trying to do is to control the mail merge. I'm using the NEXT mergefield to show more than one record on a page, but I want to do a NEXTIF and only move onto the next record if the last record hasn't already been reached.
As it is, I am just using NEXT but I am dealing with small (varying) numbers of records. There are some fields that share the same data with all the other records, and then some fields with unique data for each record.
Essentially, there is a section in the middle of the merge doc that I need to show the unique data for each record, followed by a section at the bottom that shows the shared data. But the NEXT fields above that seem to move past the last record, and then all the shared fields come up as blank.
Any ideas?
As always, any help is much appreciated