Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting top of page
Message
 
 
To
08/02/2002 04:56:08
Denis Filer
University of Oxford
United Kingdom
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00617172
Message ID:
00617233
Views:
23
>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform