`
Par2: Report title page (print a band once at report beginning) 2000-03-17 -- Anton Novikov > I need to print a band, once, probably just after the first page header
> (similar to the DOS title page band).
>
> I'm thinking of creating a band and setting its filter to something like:
> FirstTime = True
> where true is its default value.
> Then, in ThisProcess.TakeRecord, around priority 5001, setting
> FirstTime = False
>
> Does this make sense or is there a better way?
1. Create new band.
2. Give it a label (say TitlePage)
3. Fill in use field: ?TitlePage
3. In Report props button -> Filters tab select your band label
(TitlePage) and write "false" as filter statement.
4. In ThisWindow.OpenReport after parent call:
IF ~ReturnValue
PRINT(RPT:TitlePage)
END
5. If you want to print your title page on a separate page check "Page
after" box
Printed October 24, 2026, 1:52 pm This article has been viewed/printed 36244 times. |