Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Report footer

0 views
Skip to first unread message

Dubravk...@yahoo.com

unread,
Mar 2, 1999, 3:00:00 AM3/2/99
to
How can I in VA Smalltalk 4.5 report create footer whitch will be
displayed only on last page, something lige summary ?
thanks

Bryan Hogan

unread,
Mar 6, 1999, 3:00:00 AM3/6/99
to
Try the following:
1) Lay out your report without including the last page summary
information
2) Drop a 'Report Form' part onto the free form surface (separate from
the rest of your report)
3) On the new report form layout summary information as desired and make
connections to the report as necessary to retrieve summary information
4) Create a script like that below which adds the 'Report Line' from the
form to the 'Footer' of the main report.
ie)

addSummaryFooter
" Add the report line containing summary information to the report
footer "
| reportLine1 |
reportLine1 := (self subpartNamed: 'LastPageFooterLine').
(self subpartNamed: 'Footer') abtAddSubpart: reportLine1 named:
'FinalFooter'


5) Connect the #finishedFormatting event of the report shell to the
#addSummaryFooter script
6) Test and preview the report.

You can probably play around with variations of the above steps to
achieve the desired output appearance.

Good luck!
Bryan Hogan
VisualAge feature development team

0 new messages