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 13:37 Go to next message
4040 4040 is currently offline 4040 4040Friend
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 21:03 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
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

Developer Evangelist, Silanis
Previous Topic:where to find coreapi.jar, modelapi,jar, engineapi.jar
Next Topic:Barcodes? - barcode4j?
Goto Forum:
  


Current Time: Wed Sep 02 19:12:07 GMT 2015

Powered by FUDForum. Page generated in 0.02171 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software