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

julesstp

Members
  • Posts

    3
  • Joined

  • Last visited

julesstp's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

0

Reputation

  1. I noticed the dange behind this when I first started working with Jasper/iReport. Please, please, please add a confirmation screen where the user needs to click Yes to proceed/No to cancel. Thank you.
  2. We have the same issue over here. It is something fairly standard in my mind to have a beginning date and end date param for users to select but also have a default value so that it can run upon scheduling. I was hoping we could use new.java.util.date() - 7 and new.java.util.date() as the default value and have that flow but I don't think it is possible. By reading this forum I guess the best fit for us is to add an aditional param with "Last Week" "Last Month" etc. as options in param and have that in the sql code - don't like it but I suppose it will do... Unless there are any more ideas - why can't a java function like the one above be the default value and dates be left blank when scheduling report and it works? thanks
  3. Does your report / subreport run when previewing it in ireport? If not the sub report needs to have parameters and these parameters need to map to fields or parameters on the main report. (In the main report click on the sub report and in properties scroll to the bottom and add Parameter (Name = name of param from subreport, expression = field or parameter in main report). Then you need to change the path of your Subreport Expression to "repo:thenameofyourrepor". Save, compile main report, load onto server in report unit. Then you need to compile your subreport and Add jrxml file / upload them (the easiest way for me) to the Resources folder INSIDE your Report Unit folder. Now the subreport will NOT run in ireport but should work in Run Report Unit (server) This was very confusing for me, 5 hrs. to get it to work. good luck! http://osdir.com/ml/java.jasperreports.general/2006-06/msg00055.html
×
×
  • Create New...