nikunj321 Posted June 16, 2009 Share Posted June 16, 2009 I have xml as a datasource,1.I am having one grouping in my report and my grouping field has values like 1,01,2,2,02,1,01,....So I am grouping by this field and in sort option i m setting this field to get sorted on the field and it gives proper output.2.In my report header i have to include one subreport since i want to print one iterated value in Report header band(adding virtual detail band by adding a subreport with detail band only in report header band)Due to my report requirement I have to use a sort option and subreport,but when i run the main report ,it shows the error"Error filling print :Error Evalauting expressionSource text:((net.sf.jasperreports.engine.data.JRXmlDataSource) $P{REPORT_DATA_SOURCE}).dataSource("/node/dummyxpath")"When i run the same report by removing a fied in sort option it gives output...but when i have sorting and subreport it gives above error..Please guide me... 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