motoman Posted March 2, 2009 Share Posted March 2, 2009 ...very frustrating problem I hope someone can help me with. Have created the same report a few times over in iReport 3.1.2. The problem is that, as I'm working with the report, eventually I try to make a filter that I just can't get the syntax right on. When I take a stab at it, and it doesn't work, I go back and delete the filter, re-run the report and see that it works as before. ...but. After a few tries, after deleting the filter, iReport will just say "the document has no pages" when trying to preview it. And nothing I can do fixes it, nor can I really see where a problem might be. Closing and reopening the report does not help - nor does restarting iReport, JS, or the whole machine. ...? Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted March 2, 2009 Share Posted March 2, 2009 hi motomanThe no pages messages comes out when the report has not records or you discarded all of them with a wrong filter expression.There are a couple of things you can try:1. set the filter expression to:new Boolean(true)This will in some way reset your filter expression.2. Set the report property "When no data" to "All sections no details" so you can see at least the rest of the report.byeGiulio Link to comment Share on other sites More sharing options...
motoman Posted March 3, 2009 Author Share Posted March 3, 2009 ...well, I am not sure as to why, but putting "new Boolean(true)" into the Filter field made my report run again! Yay! ...I take it that this is kind of a common occurence then? Link to comment Share on other sites More sharing options...
gysheng Posted April 12, 2010 Share Posted April 12, 2010 select eidt / properties / more ,in if no infomation listbox,select all sections,no detail option,then the report will work Link to comment Share on other sites More sharing options...
ludwingq1g Posted October 19, 2015 Share Posted October 19, 2015 maybe, select there style XPath from the Datasource and check again... too check the enviroment 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