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

tt_linux

Members
  • Posts

    9
  • Joined

  • Last visited

tt_linux's Achievements

Apprentice

Apprentice (3/14)

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

Recent Badges

0

Reputation

  1. hi, how can i do this in iReport (v1.2.4) i have 2 fields A and B which i want to add together to become C. A (bigdecimal) B (bigdecimal) == C === How and where do i do the additions ? Please help and thanks Tony
  2. hi, i am after a solution for the following issue i have. My iReport (version 1.2.5) form prints on a invoice on a dot matrix printer. The problem is that when it finish printing, the page stays where it is and the user needs to push a button on the printer to advance the page so that it can be torn off and given to the customer. Is there anyway of forcing the page to be automatically advanced so that user does not need to do it manually. It gets to be a real pain when there are many people waiting for their invoices. Thanks Tony
  3. hi, I need to distribute the jasper report files with my Swing app. I use Netbeans 5.0 as the IDE and i do not know how to do it ? Is there some way i can package the jasper reports into a .jar file and then include it as part of my swing XXXX.jar (my swing app jar file) ? Or is there a better way to do things. Please help.. Much appreciated. :( regards Tony
  4. hi, I am using iReport v1.2.4 I have a report that uses a jpeg image in the title band. In the image expression field, it ask for a absolute pathname, as in, /home/name/report/.../.jpg Now, when i move the report to another computer, it becomes invalid. How can i set it up as a relative pathname instead ? Or if not possible, how do i get around this problem. Please help. thanks, Tony
  5. hi, Just wanted to know which function to use when i am using iReport with Hibernate. I could retrieve the data by running th e report (with HQL) from iReport. What do i have to do to call it from my Java application ? For normal Sql connection i could use: JasperFillManager.fillReportToFile(reportNames + ".jasper", param, getConnection()); But with Hibernate, what do i need to do ? Thanks for any help Tony
  6. hi, I am using iReport v1.2.4 I have a report that uses a jpeg image in the title band. In the image expression field, it ask for a absolute pathname, as in, /home/name/report/.../.jpg Now, when i move the report to another computer, it becomes invalid. How can i set it up as a relative pathname instead ? Or if not possible, how do i get around this problem. Please help. thanks, Tony
  7. Can u please provide example code ... or point me where i can find them. Am a newbie to ireport. Thanks
  8. hi, Is it correct that JRViewer cannot print to dot matrix printers ? Does printing directly via the JasperPrintManager class work then ? Thanks Tony
  9. hi, i need to suppress leading zeroes in my ireport field (type: string) eg., "0004" should be "4". someone gave me some help in this forum (sourceforge) the code is given below .. but did not compile correctly. Can some kind soul help me with the syntax and whether this will work ... new integer().valueOf($F{fieldname}) P.S.: the database field is in string. i have changed the ireport field to "java.lang.integer" Thanks .. Tony
×
×
  • Create New...