Jump to content
We've recently updated our Privacy Statement, available here ×

krasbutch

Members
  • Posts

    10
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Everything posted by krasbutch

  1. Hi all! Please, share your thoughts. I have a report with 2 subreports in 2 dummy groups footers. Also, there are 2 groups: the first groups subreports data by name, the second (the top group) -- by command. Both of subreports fills data horizontaly using columns. There are a lot of data in the first subreport and every his instance takes more than one page. The master report footer should shows the number of the page in the whole report and the number of the page in the top group. I have a text element that shows $V{PAGE_NUMBER} with evaluation time "Now". It works fine. Also, I have a variable $V{PAGE_NUMBER_CMD} that has the next definition: Code: I use it to get a page number of the gMajcom (top) group. The problem is that $V{PAGE_NUMBER_CMD} recalculates its value in case the inner group (group by name) changes only. E.g. I have the next structure: Code:It means that I shoud has 6 pages with the next footer's data: 1 / 1 2 / 2 3 / 3 4 / 4 5 / 5 6 / 1 But for now I get the next: 1 / 1 2 / 1 3 / 1 4 / 2 5 / 2 6 / 1 Guys, I realy get stuck on this :0 The only suggestion is that report doesn't evaluates the variables of the master report until the big subreport stops its work. Even if it so, I also can't find out how to resolve the problem. Your help could be very helpful. Sincerely, Rustam F. Baiburin.
  2. Thanks a lot! It helps to gain a victory over the strange bug :0)
  3. Hi all! Some time ago I've asked this but got no answer. I have a subreport in the detail section that is in a group. I also have a variable the summarizes the subreport return values from each record in the group. I have placed a field in the group footer that displays the value of the summary variable. It works great except the value of the last subreport in the group is added to the next group. I've tried the text field's evaluation time like "now" or like "band". The variable's reset is on the group. I have tried multiple combinations of evaluation times and can't seem to find one that works. Hope on your help! Thanks! Rustam F. Baiburin
  4. Hi all! I have a subreport in the detail section that is in a group. I also have a variable the summarizes the subreport return values from each record in the group. I have placed a field in the group footer that displays the value of the summary variable. It works great except the value of the last subreport in the group is added to the next group. I've tried the text field's evaluation time like "now" or like "band". The variable's reset is on the group. I have tried multiple combinations of evaluation times and can't seem to find one that works. Hope on your urgent help! Deadline is coming... %-0 Thanks! Rustam F. Baiburin Post edited by: krasbutch, at: 2007/05/15 18:27 Post edited by: krasbutch, at: 2007/05/15 18:28 Post edited by: krasbutch, at: 2007/05/15 18:37
  5. Guys, I have updated iReport from 1.3.1 to 1.3.3 and got a lot of compilations errors in my reports. New release trys to compile all comments that placed into expressions of variables, parameters and so on. I mean comments like this: /* bla-bla-bla */ It stops me from using new release, unfortunately. Please, make needed fix. Thanks, Rustam F. Baiburin. Post edited by: krasbutch, at: 2007/05/04 16:04
  6. Thank you for the answer! Unfortunately, an arrow should be printed only once even if the subreport has a number of rows. Also, it should cross both title and detail bands of the subreport. But an object can't belong to several bands. It should looks like this: Code: | | ID NAME | ---------------- |---> 01 Rustam 02 Petr 03 Alena .. ..... nn Somebody
  7. Hi again! The problem I've described yesterday (about the arrow and subreport) has been transformed to another problem. I have an image and a subreport in the same band, and their tops are on the same horizontal line. An image takes some vertical space in the design time and I need to increase a height of the band to image height. But I want the image to be shown in case the subreport returns any value, but if subreport is empty the image should be invisible and the band should be empty. An image object has an "image expression" parameter. I've declared it in this way: Code: ($V{R_COUNT} == null || $V{R_COUNT}.intValue() == 0) ? "" : "E:\Work\jasperreports\TPML_arrow.gif" where R_COUNT is a variable, that contains a count of rows in the subreport ("evaluation time" of an image sets to "band", of course) Also, I've set "On error type" to "Blank", and check the box "Remove line when blank" for my image. As you can see, in case the subreport has no data -- "image expression" returns an empty string. It causes the error that handled by "On error type". After this the image should be blank. And regards to checked "Remove line when blank" parameter the image should not take any space in the band and the band should be empty. Unfortunately, an image is not shown but it takes the space it has in the design time. I've check it with several ways. Damned, guys, where is my falut? Or maybe iReport has no needed availability in case of images? Please, share your thoughts! Regards, Rustam F. Baiburin.
  8. Hi everyone! I've got a problem and can't find a solve in the forum messages. I have a one subreport and an arrow drawn using lines in the main report in the same band as subreport placed (it is necessary). I need to draw this arrow when subreport has any data and don't draw it if subreport is empty. I return to master report a variable R_COUNT that contains a count of subreport rows. And I want the line becomes visible when this variable is not null or greater then 0. The problem is that drawing of an arrow happens _before_ the subreport ends its processing. So, an arrow never shows because the variable R_COUNT is null when the line is drawing. Unfortunately, line object has no parameter "evaluation time" to set it to "band". Let me know if there are any tricks exists. Thanks a lot, Rustam F. Baiburin Post edited by: krasbutch, at: 2007/03/22 16:04 Post edited by: krasbutch, at: 2007/03/22 16:06
  9. Hi everyone! I'm a beginner in JasperReports, so I'm sorry if the question is silly. I need to make a one report that contains several _independent_ parts (=subreports). Every part should has a different query that has no any relation to another subreports. It should looks something like that: Code:------------------- Report Title Part 1 title_11 title_12 title_13 fld_11_1 fld_12_1 fld_13_1 fld_11_2 fld_12_2 fld_13_2 Part 2 title_21 title_22 fld_21_1 fld_22_1 fld_21_2 fld_22_2 fld_21_3 fld_22_3 ... Report Footer -------------------- But for now, when I'm creating a subreport, I see the next: Code:[code]------------------- Report Title Part 1 title_11 title_12 title_13 fld_11_1 fld_12_1 fld_13_1 Part 2 title_21 title_22 fld_21_1 fld_22_1 fld_21_2 fld_22_2 fld_21_3 fld_22_3 fld_11_2 fld_12_2 fld_13_2 (!! <-- from Part 1) Part 2 title_21 title_22 fld_21_1 fld_22_1 fld_21_2 fld_22_2 fld_21_3 fld_22_3 ... Report Footer -------------------- Thanks much! Sincerely, Rustam F. Baiburin Update: I believe I've solved the issue putting every subreport into the separate group footer. Thanks to all and sorry for disturb. Post edited by: krasbutch, at: 2007/02/21 00:40
  10. Hi everyone! I'm a beginner in JasperReports, so I'm sorry if the question is silly. I need to make a one report that contains several _independent_ parts (=subreports). Every part should has a different query that has no any relation to another subreports. It should looks something like that: Code: ------------------- Report Title Part 1 title_11 title_12 title_13 fld_11_1 fld_12_1 fld_13_1 fld_11_2 fld_12_2 fld_13_2 Part 2 title_21 title_22 fld_21_1 fld_22_1 fld_21_2 fld_22_2 fld_21_3 fld_22_3 ... Report Footer -------------------- But for now, when I'm creating a subreport, I see the next: Code:[code] ------------------- Report Title Part 1 title_11 title_12 title_13 fld_11_1 fld_12_1 fld_13_1 Part 2 title_21 title_22 fld_21_1 fld_22_1 fld_21_2 fld_22_2 fld_21_3 fld_22_3 fld_11_2 fld_12_2 fld_13_2 (!! <-- from Part 1) Part 2 title_21 title_22 fld_21_1 fld_22_1 fld_21_2 fld_22_2 fld_21_3 fld_22_3 ... Report Footer -------------------- Thanks much! Sincerely, Rustam F. Baiburin Update: I believe I've solved the issue putting every subreport into the separate group footer. Thanks to all and sorry for disturb. Post edited by: krasbutch, at: 2007/02/21 00:39
×
×
  • Create New...