Skip to main content



      Home
Home » Archived » BIRT » selecting a break dynamically
selecting a break dynamically [message #62043] Wed, 27 July 2005 07:32
Eclipse UserFriend
Originally posted by: carlos.grahl.senior.com.br

Hi, all!!

I need to solve this situation:

I have an orders report, which have this layout:

------------------------------------------------------------ -------
customer
------------------------------------------------------------ -------
orderNumber orderQty orderTotal
orderNumber orderQty orderTotal
orderNumber orderQty orderTotal
------------------------------------------------------------ -------
customer
------------------------------------------------------------ -------
orderNumber orderQty orderTotal
orderNumber orderQty orderTotal
orderNumber orderQty orderTotal
orderNumber orderQty orderTotal
...

a simple master-detail report. But it can have ALSO this layout:

------------------------------------------------------------ ------
productCategory
------------------------------------------------------------ ------
orderNumber orderQty orderTotal
orderNumber orderQty orderTotal
orderNumber orderQty orderTotal
orderNumber orderQty orderTotal
------------------------------------------------------------ ------
productCategory
------------------------------------------------------------ ------
orderNumber orderQty orderTotal
orderNumber orderQty orderTotal
orderNumber orderQty orderTotal
orderNumber orderQty orderTotal

The same detail line, but with another "GROUP BY" clause. IŽm thinking in
solve this problem this way:

Create a ReportParameter, which contains the group selection (1 - group by
order, 2 - group by category)

Create a table, with
1 header
2 group headers
1 detail
2 group footers
1 footer
(is that possible?)

and, using the visibility expression of the group headers, select which
group header and which group footer will be printed, based on the
reportParameter filled by the user.

(This is a ficticious report, just to explain the problem. But the problem
is real... :-)

Thanks in advance

Carlos Augusto Grahl
Previous Topic:Extension loading error
Next Topic:birt with pojo
Goto Forum:
  


Current Time: Sat May 24 06:48:41 EDT 2025

Powered by FUDForum. Page generated in 0.02692 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top