yaragalla Posted August 27, 2012 Share Posted August 27, 2012 I have a bean like following Employee.javaThe fields are: emp_id, emp_name, department====The report should appear as follows===Department:- (for example "HR") emp_id emp_name emp_Id emp_nameDepartment:-(For example "Mechanical) emp_id emp_Name emp_id emp_Name Kindly help me in this. simple idea on how this can be done is enough. Thanks in advance Link to comment Share on other sites More sharing options...
yaragalla Posted August 28, 2012 Author Share Posted August 28, 2012 kindly help me in this report? Link to comment Share on other sites More sharing options...
rajnagar Posted September 13, 2012 Share Posted September 13, 2012 You can do the following steps:1) Create a report group. Right click on your file in Report Inspector and select the option 'Add report group'2) Give the Group expression as 'Department' - select the department field from the list of fields retrieved from query.3) Drag a 'Text field' into 'Group header' band and select 'Deapartment' field4) place emp_id and another required field in detail band.5) for the report grouping to work properly you have to sort the data on 'Department'. Use 'Sort Options' for the same. I think this will solve your problem. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now