Does anyone have experience of working with Quickreport 2's TQRGroup
component in event driven reports?

I had some old QR1 reports and the Group component used in QR1 was event
compatible. It had a NeedData event that could be used in event driven
reports to break the group in code.

But the QR2 Group doesn't have this event any more. Instead you pass it an
expression.

I have a table containing in this case three records which are to be used
for the grouping. In each group values from several other tables are
combined in code and then pumped onto the page using the report's NeedData
event to generate the detail bands. The table is then stepped to the next
record and in theory this should cause the Group to break as the result of
its Expression property has changed.

Except that it doesn't. The group header and footer are only printed once
each.

Any ideas?

============================================
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to