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

tgrady

Members
  • Posts

    8
  • Joined

  • Last visited

tgrady'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, I am trying to append a carriage return value (n) to the end of a detail line and am having problems getting it to work correctly. I placed a value of "n" in the Text Field Expression for the text field being used for this and though it seems to 'work' when the report is run, when the data is sent to another system via a .csv file, the value is getting received as "n" and not a carriage return value. I can now see why this is occurring due to the value being placed in the text field's text expression field. With the above in mind, I came across a post that confirmed what I just described and it said to place it in an expression and my question is if not in the text expression, should it go in the pattern expression? If not there, what is the correct way to get a carriage return value loaded to a detail line? Thank you in advance. Regards, Tom
  2. Hi, I am trying to compare two date values in iReport and am unable to get it to work correctly. The below code is resident in the Text Field Expression property of a detail line. Some notes on the fields being used in the below staetment. ($F{fieldA}.compareTo($V{fieldB}) == 0) ? "01/01/0001" : "fieldA" -> fieldA is a date field whose value will be overridden should it be equal to fieldB. -> fieldB is a date field (java.util.Date) that gets loaded via the following statement within it's variable expression property. - $P{initialDateCalendar}.set(1000, 00, 01) -> With the above in mind, the intent is to check if fieldA has a value of 01/01/1000 and if it does to set it to 01/01/0001. -> When I print the contents of fieldA and fieldB they both print out at 01/01/1000. Based on this I would expect the compareTo statement to yield an equal condition (== 0) and load fieldA with as value of "01/01/0001". With both fields being date fields, the compareTo iseems to the the correct comparison operator to use. Also, fieldA is a Date field (and not date-time). Am I missing something here? For what it is worth, I also tried .equals and == as comparison operators and they too yielded the same result as compareTo. Any help on this is greatly appreciated.
  3. Hi, I would like to use the commercial version of iReport as a plugin to Netbeans and am not sure how to do this. Is there a NetBeans plugin available for the commecrial version of iReport? The only iReport plugin I see out there is for the community version. Thank you in advance for your help. Tom Post Edited by tgrady at 09/02/2011 14:47
×
×
  • Create New...