Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Sub item(How to generate Sub item.)
icon5.gif  Sub item [message #1101521] Wed, 04 September 2013 15:09 Go to next message
Bruno Borba is currently offline Bruno BorbaFriend
Messages: 12
Registered: July 2011
Location: Belo Horizonte
Junior Member

I have a demand for a report and I am lost on some possible ways to solve the problem (in the query, the dataset or grid after already rendered).
Here's the problem:
I have a report where there is a column that is the index and can be repeated, but when there is a repeat, I have to create a kind of sub item. In this example the SALESREPEMPLOYEENUMBER was purposely placed as an index. In the first 6 tags 1165 should turn
1165
1165.1
1165.2
1165.3
1165.4
1165.5

Any solution? Very Happy

[Updated on: Wed, 04 September 2013 16:56]

Report message to a moderator

Re: Sub item [message #1101928 is a reply to message #1101521] Thu, 05 September 2013 05:36 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

From the looks of it, this could be done with a computed column in the dataSet, with a new binding in your table, or in a dynamic textbox. You'd just need to store the last value in a variable and check the current value against it. If they're the same, you'd add your sub-count value which could also be stored and managed in a variable.

Hope this helps. Let me know if you need an example.


Michael

Developer Evangelist, Silanis
icon14.gif  Re: Sub item [message #1105147 is a reply to message #1101928] Mon, 09 September 2013 12:30 Go to previous messageGo to next message
Bruno Borba is currently offline Bruno BorbaFriend
Messages: 12
Registered: July 2011
Location: Belo Horizonte
Junior Member

I understood your help but yes, I need an example, mainly using the attached report. This report presents a peculiarity, so I'm struggling to apply what you have proposed. This report is used to print labels in tabular form, 3 per line and when complete this line jumps to next. Are three independent tables.
Very Happy
Re: Sub item [message #1106249 is a reply to message #1101521] Tue, 10 September 2013 22:04 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Take a look at this. Does this not do what you're wanting? Are you wanting each individual table to be numbered separately?

Michael

Developer Evangelist, Silanis
Previous Topic:IE v10 browser compatible issue
Next Topic:How can I get and set the actual row count of a dataset?
Goto Forum:
  


Current Time: Fri Mar 29 07:33:28 GMT 2024

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

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

Back to the top