>My report has a summary band, about 5 lines. If there is space, it is printed on the last page following the final detail band entries. However and inevitably, sometimes it comes at the top of a new page. In this case, I would like to print "Continuation page ..." then the summary. Is there a way to detect the report line number - so if it's at the top of the page, I can use a print when clause? Many thanks.
It's jusy an idea (not tested):
- Create Report Variable lInPage with 'Value to Store:' lInPage and 'Initial Value:' .F.
- Put following expression in the footer's On Exit
_VFP.SetVar("lInPage ", .F.)
- Put following expression in the details's On Exit or Group Footer On Exit, if any
_VFP.SetVar("lInPage ", .T.)
- Add "Continuation page ..." to the summary with Print When Not lInPage
hth
--sb--