2 replies
I curious as to where you are getting the data. Is this a mail merge type document?
At any rate, this solution should work. Put two fields in your data, for example, DetailNum and DetailSeq. DetailNum would be the identifier you mentioned, and DetailSeq would be the sequence within DetailNum. For example,
DetailNum DetailSeq Data
1 1 Record 1
1 2 Record 2
1 3 Record 3
2 1 Record 4
2 2 Record 5
and so on...
If I am understanding you correctly, you want to put a page break between Record 3 and Record 4 and all other records where the DetailNum changes. Sort your records by DetailNum then by DetailSeq and put the following field at the top of your main document: {IF {MERGEFIELD DetailSeq } 1 "[HPg]" " " }, replacing [HPg] with a hard page.
I created the IF statement using the Insert Word Field and putting a space in both the Insert this text and in the Otherwise inse
by ideafixer
This discussion is closed to new replies.
Trending Software posts
Sort by Trending