Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Report with groups

edited July 2002 in General
Hi,

I have a report that consists of Employee Information. I break to a new
group based on the employee ID. I have a treelist that you can click on the
employee name and see the coresponding information on the reports. I can
get the first employee to show up in the report, but how do I access the
other employees based on passing the employee id to see the rest of the
reports. Do I have to know what group number it is? Any help would be
apprecitaed.

Thanks,

--
Jada C. Case
Programmer
jada@signaldata.com

Comments

  • edited July 2002
    You need to build a list of which page each employee is on. To do that you
    will need to generate the report to completion and use a group or a detail
    band event to add an (employee, page) pair to a list. Then, upon clicking on
    an employee in the treelist, you can reference that list and use the
    Viewer.GotoPage to traverse the viewer to the appropriate page. As a
    sidenote, RB6.5 will contain a built-in outline that allow you to do exactly
    this.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

This discussion has been closed.