Using Page Number to control visibility, etc

Discussion created by SamRembert on May 30, 2017
Latest reply on Jan 3, 2018 by Siroos Jafary

I have been trying forever to use a change in page number to control whether something on the first body line of a page is visible or not.  Since Filemaker still lacks the ability to prevent page breaks between part breaks,  I often have fields in body lines which are hidden if they are identical to the previous record.  When these break across pages, I want to be able to tell those fields to not hide.  I've tried all sorts of things with Get(PageNumber), but it does not appear that this calculation can be used effectively.  Either that, or I'm just missing something.


I've tried making a calculated field which is just Get(PageNumber), which correctly shows the page number on each line,  then running a script to copy that info into another non-calculated field, but even that doesn't work. 


I'm sure I'm not the first to desire this.  Any ideas?