Fast Report - Continue Next Page & Continue From Previous Page: Difference between revisions
From eStream Software
(Created page with "==Introduction== Sometime we need to show or an indicator to let the person who received the Document know there is more then 1 page.<br /> There are 2 ways to show this * Hea...") |
(→Steps) |
||
Line 16: | Line 16: | ||
[[File:FR-ContinueNextT-02.jpg|800px|center]] | [[File:FR-ContinueNextT-02.jpg|800px|center]] | ||
:05. Click '''Events''' tab | |||
:06. Double Click '''OnBeforePrint''' and enter below script | |||
<syntaxhighlight lang="delphi"> | |||
procedure MmContinueTOnBeforePrint(Sender: TfrxComponent); | |||
var B : Boolean; | |||
begin | |||
B := (<Page> > 1); | |||
MmContinueT.Visible := B; | |||
MmContinueT.Printable := B; | |||
end; | |||
</syntaxhighlight> | |||
==Footer - ''Continue Next Page...''== | ==Footer - ''Continue Next Page...''== |
Revision as of 06:12, 7 January 2016
Introduction
Sometime we need to show or an indicator to let the person who received the Document know there is more then 1 page.
There are 2 ways to show this
- Header - Continue From Previous Page...
- Footer - Continue Next Page...
Below is example using Sales Cash Sales
Header - Continue From Previous Page...
Steps
- 01. Click on Red A icon
- 02. Click at the place to print/shown in the GroupHeader band
- 03. Enter the text you like (eg Continue From Previous Page...)
- 04. Change the Name (eg MmContinueT)
- 05. Click Events tab
- 06. Double Click OnBeforePrint and enter below script
procedure MmContinueTOnBeforePrint(Sender: TfrxComponent);
var B : Boolean;
begin
B := (<Page> > 1);
MmContinueT.Visible := B;
MmContinueT.Printable := B;
end;