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

oconnorjohnedward

Members
  • Posts

    3
  • Joined

  • Last visited

oconnorjohnedward's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi All, I am designing a report where I need to determine the best/easiest way to display records... Header & Footers for this document are no problem. This is a shipping document where the individual items are lines: FIFA 2021 QTY 100 Fun Sports Game Star Wars Game QTY 200 FPS / Sci-Fi That is easy enough - no need for subreport at this point - each line is exactly the same height. Here is where I get confused and need your help. Say the Star Wars Game is not to be released for another month (based on a tag from in the XML), I need to scratch the Star Wars Game line in the example above and put something like: *********************************** Leave-In Box - Do Not Open Until 3/16/21 *********************************** Star Wars Game - Contact Corporate to let them know shipment arrived. Corporate will let you know of the next steps. *********************************** I will also have another set of data that could be displayed depending on the data, which I won't worry about coming up with a fictional example. So in short, a line within the details section could have 1 of 3 display possibilities. Once 1 of the 3 display possibilities prints, it continues to the next line and so on. Here are my struggling points: Do I need to use subreports? If so how many - 2 or 3?Where do I create the conditional logic to display details? - ex: if this field = 1 then print this otherwise print that (I can figure out the conditional logic, just don't know where to do it)How will this affect the sizing of the detail band? In the first example the line is simply just 1 line, but in the second example it is much bigger. How does Jasper handle that and are there any Jasper settings that I need to be aware of. Thanks in advance. Still learning Jasper but feel like I am making some good headway.
  2. Hi All, Still new to Jasper, so I will do my best to explain what I am trying to accomplish. I have a field called NEWSKU in the details section, I also have a need to have NEWSKUALL in the Header. If at any time in the Details section the NEWSKU value is "Yes", then the Header NEWSKUALL needs to state "Yes", otherwise "No". So if one record in the details section has NEWSKU of Yes out of 15,000 records, the header for the report for NEWSKUALL should state "Yes". I'm perplexed as to how to accomplish this. Thanks ahead of time!
  3. I have created a jasper report that is being currently fed XML data. Currently, in my header, I have details about the order. Ex: Order Number, Items in Order, Who ordered it, etc. In my Details band, I have data for each Order Line, ex: 5 of this item, 10 of this item, 1 of this. I need to do a page break on each class of items on an order line... so if 5 Order Lines have a class of Hazmat, they need to be printed together. And if I have 10 order lines that all have a class of Perishable, they need to be printed together. How can I do this? Thanks ahead of time.
×
×
  • Create New...