Google 网上论坛不再支持新的 Usenet 帖子或订阅项。历史内容仍可供查看。

Report footer

已查看 0 次
跳至第一个未读帖子

Dubravk...@yahoo.com

未读,
1999年3月2日 03:00:001999/3/2
收件人
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

未读,
1999年3月6日 03:00:001999/3/6
收件人
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 个新帖子