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

philipp.fresen

Members
  • Posts

    5
  • Joined

  • Last visited

philipp.fresen'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. sounds easy. I will try it today. Thanks C-Box! again :-) edit: i just created the group with my primary ID as expression and set the flag "start new page". then moved my fields from the head to the group and it works perfectly! So simple! Thanks C-Box for your support! I'm really a newbee at JasperReports... :D
  2. Dear folks, i'm creating a report for an overview about a main-object with four sub-objects (relationship between main- and sub-objects 1-n). At this moment i can load one main-object or many main-objects in the main query of the report.The sub-objects are loaded over subDataset's, with one variable for the id of the main-object. I tried to play with the areas in the report but i don't get a satisfacturily result. I would like to have the data of the main-object in the page header and then over 1 to x sites the data of the sub-objects (simple tables). After this a clear break and on the next page the next main-objects with its sub-objects. I only struggle with this clear break between the main-objects. Hope someone can help me. Best regards from Cologne, Philipp
  3. The problem is based on the empty default value of the string parameter. does anyone know how the default value for an integer is in Jasper?
  4. hey folks, i get an evaluation error for parsing a string to an int with "Integer.valueOf(<string-param>)". <parameter name="s_incident" class="java.lang.String" isForPrompting="false"> <defaultValueExpression> ![CDATA[new String("")]] </defaultValueExpression></parameter><parameter name="q_incident" class="java.lang.Integer" isForPrompting="false"> <defaultValueExpression> ![CDATA[iF($P{s_incident}.trim().length() > 0,Integer.valueOf($P{s_incident}),new java.lang.Integer(0))]] </defaultValueExpression></parameter>[/code]the string parameter is used as input control in the JasperReporting Server (i want the field to be blank at the beginning). the int parameter is used in the sql query. Hope someone can help me.. best regards, Philipp
×
×
  • Create New...