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

jonathanln

Members
  • Posts

    9
  • Joined

  • Last visited

jonathanln'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. Ah, it doesn't work if the image is in a custom template that you've made since the path is relative to the report and not it's template. ( my template and my report are in different folders...) If anybody knows a way, please tell me. Thank you, John
  2. Nevermind haha, Only had to erase the path till "\\blabla.gif" was left. John
  3. Hi, I was wondering if it was possible to set a relative path to an image file which would always be in the same folder as the report. Thank you for your answer, John
  4. Thank you very much for your help, it's exatly what I was looking for. John
  5. Hi and thank you for your answer. But where exactly would I be able to input text in the report properties? The only field that comes close to what I'm looking for is the "Report Name" that I can change... I'm looking for any way to write a comment on a report, maybe something like the "Description" field of a parameter, a variable and a field where you can write whatever you want. Thank you again for your help, John
  6. Hi, I was wondering if there was a way to leave a "comment" on a report. I'm trying to make some kind of header in which I would write which version of iReport I'm using, my name, the date.... I tried commenting the xml, but it seems like it is regenerated everytime the report is saved, erasing the comments. Thank you for your answer, John
  7. Thanks a lot to you Matt for these precisions and the alternative way of solving this problem. You helped me, and I hope others too, to understand iReport a little bit better. John
  8. I found the solution : Integer.valueOf( $F{aaaa}.before(new java.util.Date()) ? false : true ) aaaa being the column filled with dates in my table.
  9. Hi, I read a lot on how to compare dates together but I still can't figure out how to solve my problem. I have a column in my table filled with dates and I have to count how many "dates in column" <= current date. The format in the table is 'dd/mm/yyyy' and the type is DATE ========================== My idea was to create a variable with "Calculation" set to "sum" and variable expression set to something like Integer.valueOf( $F{table_date} <= sysdate ? 0 : 1) but I haven't been able to use "sysdate" outside of the main report query and "<" doesn't seem to be accepted. ========================== Thank you in advance for your help, John
×
×
  • Create New...