I am formatting table entries into a reports detail section where the entry can either be a header or some detailed data.
Now I would like to create a page break inside the format-event similar to word. "If the header is the last thing on the report and the details wouldnt fit onto the same page, then forward the header to the next page also).
One approach was finding out, at what Y-Position I am in the current report and issue the page break through a tresshold value. Unfortunately the very promising looking property "CurrentY" always returns 0 (I exptected the absolute Y-Position of the report page)...
Has anybody a solution for this (or does anybody understand me)?
Now I would like to create a page break inside the format-event similar to word. "If the header is the last thing on the report and the details wouldnt fit onto the same page, then forward the header to the next page also).
One approach was finding out, at what Y-Position I am in the current report and issue the page break through a tresshold value. Unfortunately the very promising looking property "CurrentY" always returns 0 (I exptected the absolute Y-Position of the report page)...
Has anybody a solution for this (or does anybody understand me)?