kosalendra.singh1 Posted April 14, 2019 Share Posted April 14, 2019 I have a subreport embedded in the first page of the jasper. I have to change the sql query for the subreport but when I do that no subreport data is printed.I am passing a parameter from the main report to the subreport, Also invoice_date is matched from two table like thisinv_sumary_invoice_date = TO_DATE ($P{INVOICE_DATE}, 'DD-MM-YYYY') --[inv_sumary_invoice_date (DATE)]invoice_date = $P{INVOICE_DATE} -- [invoice_date (VARCHAR2)] NOTE: When I replace the new query with the old one, data is available againI can not share the code Link to comment Share on other sites More sharing options...
hozawa Posted April 14, 2019 Share Posted April 14, 2019 From the information you've provided, all I can say is that you have a bug in your code. Try printing out the result of the sql query to make sure they are what you want. 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