Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » how to pass parameter for year,quarter,month
how to pass parameter for year,quarter,month [message #1073297] Wed, 24 July 2013 09:37 Go to next message
4040 4040 is currently offline 4040 4040
Messages: 78
Registered: February 2013
Member
sir i have attached a report which i have created in sample db for my requirement but its showing some error and i dono how to pass parameter by script in before open so can u able to pass parameter i.e i can't able to pass parameter for year,quarter,month

kindly provide sampledb for this ..its urgent needed...

thank u in advance
Re: how to pass parameter for year,quarter,month [message #1073458 is a reply to message #1073297] Wed, 24 July 2013 17:03 Go to previous message
Michael Williams is currently offline Michael Williams
Messages: 1546
Registered: July 2009
Senior Member

Take a look at this modified report. I used a separate dataSet to fill the values for the parameters and created a display value field to look like the fields you wanted and an integer field of just the straight month and quarter value for the actual parameter value. This really only needs to be done for the month.

Then, I added a couple lines to your beforeOpen script of your msrp dataSet to limit the query results by the parameter values selected.

Hope this helps.



Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Previous Topic:where to find coreapi.jar, modelapi,jar, engineapi.jar
Next Topic:Barcodes? - barcode4j?
Goto Forum:
  


Current Time: Mon Jul 28 04:34:56 EDT 2014

Powered by FUDForum. Page generated in 0.02559 seconds