Jump to content
JasperReports Library 7.0 is now available ×

fatbob

Members
  • Posts

    16
  • Joined

  • Last visited

fatbob's Achievements

Apprentice

Apprentice (3/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. fatbob Wrote: teodord Wrote: Steve, Since you don't have frames in that old version, you could use a white line (invisible) to put in between the first row and the second row. Use positionType="Float" for the line and the elements below it. When the text field will stretch, it will push the line which in turn will push the text fields downwards. I hope this helps. Teodor That's what I ended up doing. Works just fine. Thanks! I think I may have spoken too soon. Using the white line worked for some of my reports, but for other reports it's not working. It seems to stretch properly for the first row, but then the subsequent rows are missing fields. Have a look at my screen shot and you'll see what I mean. I made the white line visible to show where I've placed it. Can someone tell me why the "Clinical Notes:" is pushed down properly on the first row, but then disappears from all other rows? I even tried moving the fields from the detail band to footer of a group, still didn't work.
  2. teodord Wrote: Steve, Since you don't have frames in that old version, you could use a white line (invisible) to put in between the first row and the second row. Use positionType="Float" for the line and the elements below it. When the text field will stretch, it will push the line which in turn will push the text fields downwards. I hope this helps. Teodor That's what I ended up doing. Works just fine. Thanks!
  3. Can it be that I don't have a frame element? I'm running a very, very old version of JasperReports (v.0.6.6).
  4. Hi everyone! I have a text filed that has the Stretch with overflow set to true and it does start a new line. However, it does not move the next row down to compensate for it. By setting that text field to float and setting the field below it to float, that helps, but the text label does not follow suite. Have a look at my screen shot to see what I mean. Is there a way to have the whole row move then when a field in the previous row stretched over two line? http://img62.imageshack.us/img62/4765/wrapping.jpg Thanks!
  5. Hi teodord, Sorry for not replying sooner, but I got sidetracked. I would report it as a bug or enhancement, but the thing is that I need to finish this report ASAP. It needs to go in prod in a few weeks time. Is there some other work around that I can use to force a page break, or force it to use the minHeightToStartNewPag? Maybe you know of some trick or something to allow this to happen? Thanks! BTW, I attached the PDF that I was supposed to attach on my last post. Post Edited by fatbob at 08/27/2009 17:50
  6. Hi teodord, I had a look at the Styled Text Sample, and I don't see where I can set a condition by which to apply a style to a field. Am I missing something? You also mention conditional report style, where can I find more info on this? Thanks!
  7. Hi everyone, I have a report where I suppress repeated values by simply unchecking "Print repeated values" in the field's property, and that works great. However when I add something like the following in the "Print when expression"... new Boolean($F{status}.equals("Error")) that field repeats even though "Print repeated values" is unchecked. Is there a way to not print repeated values while having something in "Print when expression"? I've attached a screen shot to show what my report looks like.
  8. Hi teodord, I must be doing something wrong (or I'm missing something), but no matter what I set minHeightToStartNewPage to, it's still giving me the same results as you see in that PDF I uploaded. I even tried setting isStartNewPage to true, and still part of my second report prints on page 3. What am I doing wrong?
  9. Wow, thanks a lot! The groupFooter did the trick! The only odd thing is that in this example, my first subreport prints on 3 pages, and the second subreport starts on the third page, and then restarts on the fourth page. Why is it partially printing on the third page? Also, just curious, but is there a way to have the title (for example "Vital Signs"), print only once? Right now as you can see from the PDF, it prints on every page. How can I get it to print only once? I've attached the lastest version of my master report and a PDF.
  10. Unfortunately we are using a very old version of JasperReports, so I'm stuck with one detail band. Can you explain how I can go about using groups to simulate multiple detail bands? I tried playing around with groups very briefly and it didn't work for me. For example I created a group, added one of the subreports to that group's band and that subreport didn't print at all. BTW, thanks for the help you've been providing me, much appreciated.
  11. The pages look small because I edited the images before posting them. I've attached a PDF of the report. As you'll notice, the second subreport (that prints the Clinical Measurements) starts's printing on page 2, but it should only start printing on page 3.
  12. The master report is canCDERptCMDetail.xml The first subreport is canCDERptVSDetail.xml Second subreport is canCDERptOBDetail.xml Keep in mind that the master subreport has another subreport, in the title band and another in the pageHeader band.
  13. I tried that, and what ends up happening is that the second report prints on every page, but not completely, parts of it print on all following pages. With the data I'm currently working with, the first supreport prints over three pages, so I'm expecting my second report to start printing on page 3, but when I set the second sub report to float I get what you see in my screenshot. I tried also setting both subreports to float, same effect.
  14. Hi everyone, I have a report which has two subreports in the detail band. I can't seem to get them to print properly. I'd like to have the first subreport print, followed by the second subreport. The problem is that the second subreport is printing over the first subreport (have a look at the attached screenshot). The first subreport is the one boxed in red (titled Vital Signs), while the second subreport is boxed in blue (titled Clinical Measurements). Why is this happening, and how can I get the second subreport to print only when the first subreport has finished? Thanks!
×
×
  • Create New...