Printing only in the final page with QuickReport

Here is another question of ancient programming languages, if anybody knows how to print a calculated value only in the last page with Delphi 7 and QuickReport?

I was googling about two hours and I can't find any information on how to use this kinda reports.

Answers


Click on the QuickReport and then expand the Bands property in the Object Inspector. Set the HasSummary band to True. You can use a TQRExpr component on the summary band and utilize whatever it supports for functionality to calculate your value, or use a regular TQRLabel or TQRDBText component and display the value you calculate manually in it's OnPrint event - just set the 'Value' parameter to what you want to display on the report.

And as @A.Bouchez said, it's not ancient technology. Delphi is still very much alive and going strong - see the info on the newly released XE version at the URL provided. If you think it's ancient, you should bring your own knowledge up to date. :-)


Perhaps adding a band at the end of the report?

And we're not dealing about archeology here. Delphi is still alive: Delphi XE was just out weeks ago. So this is not "another question of ancient programin' language", but "another question of ancient program"...


Need Your Help

compute maximum depth of xml-tree

xml xslt xpath

What's the simplest xpath 2.0 for computing depth of indentation of xml? My variant isn't smart yet:

How to make my spider's leg move in XNA

xna 3d blender maya 3d-modelling

I've done a 3D spider model in Blender, and currently I can export it as a .x(direct X) file and import this .x file into XNA gamestudio and make it shown there as a static model.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.