Home
Designing Analytics Reports
Birt report - element alteration and creation
system_migrated
In my Database there is a table with the following fields:
FieldName: name, email, gender
Value: John,s@hotmail.com,M
So in my birt report I will be seing this as two different elements.I intend to represent the information in this format instead:
[FieldName]:[Value],.........[FieldName]:[Value]
name: john, email:s@hotmail.com,gender:M
This is to be accomplished using Birt 2.3.1 and Java 1.6.I know that it is possible import the java class into the Birt report. However I require the above to be accomplished.
I attach herewith a java class that is capable to retrieve the field name and the value from the db. This class is associated with the dataset. The data source is created using the JDBC driver. So each time I preview the report this class will be invoked. Now is it possible to alter this values into the format:
[FieldName]:[Value],.......[FieldName]:[Value]
Then display the value as a new element on the report at run time. So I will see the new value along with other elements I pull from the database.
Your help is kindly appreciated.
Find more posts tagged with
Comments
There are no comments yet