Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-09

LazReport - Group bands

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Alejandro Gonzalo

I only wanted a list of unique entries for a key field. So I selected the Group Header band and for Condition selected that key field. I then inserted a Rectangular Object on the band and for dbfField selected the same key field.

But Preview showed only a blank page. What else do I have to do?

Double karma for the best way to show the number of entries for each key field.

Thanks.

A. G.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140923/7e714ed8/attachment.html>

Reply by email

Tony Whyman
to Alejandro Gonzalo

Alejandro,

Group Headers do work - I use them myself. Looking at a known working report, the condition field in the group header is linked to field in the dataset used for the Master Data band. Maybe this is where your problem lies.

Regards

Tony Whyman
MWA

Alejandro Gonzalo wrote 19 lines
I only wanted a list of unique entries for a key field. So I selected the Group Header band and for Condition selected that key field. I then inserted a Rectangular Object on the band and for dbfField selected the same key field. But Preview showed only a blank page. What else do I have to do? Double karma for the best way to show the number of entries for each key field. Thanks. A. G. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140924/9d18652d/attachment-0001.html>

Reply by email

Alejandro Gonzalo
to Tony Whyman

Since I only wanted a list of unique key fields, I didn't use a Master band. Is it mandatory to use one?

A. G.

On Wednesday, September 24, 2014 12:54 AM, Tony Whyman wrote:

Alejandro,

Group Headers do work - I use them myself. Looking at a known working report, the condition field in the group header is linked to field in the dataset used for the Master Data band. Maybe this is where your problem lies.

Regards

Tony Whyman
MWA

On 24/09/14 00:01, Alejandro Gonzalo wrote:

I only wanted a list of unique entries for a key field. So I selected the Group Header band and for Condition selected that key field. I then inserted a Rectangular Object on the band and for dbfField selected the same key field.

Show quoted text 16 lines
But Preview showed only a blank page. What else do I have to do? Double karma for the best way to show the number of entries for each key field. Thanks. A. G. --

Reply by email