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

rwigfall

Members
  • Posts

    6
  • Joined

  • Last visited

rwigfall's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

0

Reputation

  1. I am not aware of any log files for iReport. If you have not already done so, I suggest running your query outside of iReport - that's usually been my problem. Regards Post Edited by rwigfall at 06/28/2010 20:32
  2. bmajor: Try setting the "When no Data" property. Under the report inspector click the top node(the actual report) then in the properties window under "More..." is the property "When No Data". There are a few options there you can select blank page if that's what you want to happend when the report doens't contain any data. If I help please consider giving Karma points. Regards
  3. sick35: Try new java.text.SimpleDateFormat("dd 'de' MMMM 'del' yyyy").format(new java.util.Date(java.lang.Integer($F{FechaOficio}))) If it works give me Karma points, please. Regards
  4. Oops...can't use intValue to convert a date type. Also you don't need to convert ValueA to integer so omit that as well. I think you want to convert the field $F{HALFHOUR} from string to integer then use $F{HALFHOUR}.intValue() Are you sure your java is correct? I didn't see "i" as an acceptable pattern letter in the javadoc - string java.text.SimpleDateFormat("hh24:mi"), remove the "i" so you have java.text.SimpleDateFormat("hh24:m") or java.text.SimpleDateFormat("H:m") works I suggest making sure the java code is correct first, this way you isolate your errors and troubleshooting. (I tried java.text.SimpleDateFormat("hh24:mi") and got errors) If I am helpful please give Karma points.
  5. mkeym: Not sure about using your XML template in Eclipse/JasperReports but if it's attempting to compile...maybe it works. As far as the cast error: Try to type cast your Strings to Integers by using intValue. (see the modified code sample) Hope this helps. Regards Code: Post Edited by rwigfall at 06/14/2010 20:52
  6. engashu: 1.) Have you tried to use a CSV datasource? XML, and Excel files are acceptable datasources as well. I have only used MySQL as a datasource, but since your data is static the afore mentioned datasources should work fine. Not sure of your deployment strategy but this file would need to be accessible to your (deployed) report. 2.) You could change the field 'Markup' to rtf or html. If you don't want to do that then you could split the text; use different fields for plain text and bold text - I'd go for the 'markup'. Hope this gets you started, good luck. Regards
×
×
  • Create New...