gusamasan Posted January 23, 2008 Share Posted January 23, 2008 Hello, I have a .jasper file. It show the buys of January ( for example ). The report is showed correctly for this month. But for February is showed a blank report. The database contains registries for January; February have not entries. I need show a message for Empty resultSet. How I can do it?. The report is in PDF format. Link to comment Share on other sites More sharing options...
kintell33 Posted January 23, 2008 Share Posted January 23, 2008 Hi,you can put a text field with a simple word saying "NO DATA" in the no data seccion, and then select "when no data : no-data section" , its in the panel to your right, and when the report will be empty, will show your message. can help you with that? byess :) pd. i dont talk very well english. :P Link to comment Share on other sites More sharing options...
svenn Posted January 24, 2008 Share Posted January 24, 2008 kintell33 what version are you using? This must be a resent addition to the product. Link to comment Share on other sites More sharing options...
gusamasan Posted January 24, 2008 Author Share Posted January 24, 2008 Thank you, Kintell33. I can not find the "no data section". My iReport version is 2.0.2. Need I other iReport version?. My english is poor, too. Thank you, svenn. Thank you, in advance. ----------gusamasan Link to comment Share on other sites More sharing options...
kintell33 Posted January 24, 2008 Share Posted January 24, 2008 Hi!Ok, you must do right click in the report and select band props. then select the no data section, and modifi his size.Then the section apear, put the text field, and select the option for the data section apear when no data in the report.I have ireport 2.0.3 but sometimes dont work in a old version of jasperserver.Byes!!Report Image: https://sites.google.com/site/kintell33/nodata.JPG Link to comment Share on other sites More sharing options...
gusamasan Posted January 24, 2008 Author Share Posted January 24, 2008 Hi, kintell33. I am sorry; I have other questions: I find the "noData" band. Could you give me a example for manage empty resultSet?. The noData band haves an expression inputTextArea. What I must put in?. Thakyou very much. Link to comment Share on other sites More sharing options...
kintell33 Posted January 24, 2008 Share Posted January 24, 2008 https://sites.google.com/site/kintell33/nodata.JPGdid you see the link?i show you the report...:cheer: Link to comment Share on other sites More sharing options...
gusamasan Posted January 24, 2008 Author Share Posted January 24, 2008 I am sorry, kintell33. I see the image, but i not understand it; I see the image a little burred. Sorry. 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