Ram Ayanavilli Posted December 21, 2015 Share Posted December 21, 2015 Hi,Forgive me for my poor English..This is Naresh, working junior developer in IT company. Recently I faced interview from U.S.A. The Interviewer asked the question what is difference between table coponent and suber report. and when we need to go for sub report and why? I created lot of subreports in my developement. However I didn't give proper answer to him.And what is the Table component in iReport. I didn't get opertunity to work on that..? Wolud u any one please clarify my questions.. How I need to prepare for interview on Jasper reports. Thak You,Naresh... Link to comment Share on other sites More sharing options...
mwarner_2 Posted December 21, 2015 Share Posted December 21, 2015 Sub reports provide more layout options (like report headers, groups, more than one detail line, etc, etc), than an embedded table. Subreports do seem to be slower than embedded tables.I created a report with 6 embedded tables, and then had to change them all to sub reports, when I didn't like the lack of error handling in the tables. I wanted a message that read "No detail records found" (when that occurred) and the table could not handle it, but the sub report did. Link to comment Share on other sites More sharing options...
hozawa Posted December 22, 2015 Share Posted December 22, 2015 Table component is just a table - 2 dimensional data in x-y format. Subreport is an entire report. A subreport may be created separately from the main report and then included. Table is a component and must be placed in the main report. 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