Jump to content

Passing parameter from master report


mhbashar1

Recommended Posts

Could anybody pls tell me what parameter to set both in master report and sub-report for the following query which is in master report-

Code:

SELECT DISTINCT
purchase_date
FROM
purchase
WHERE MONTH(purchase_date)=$P!{month} AND YEAR(purchase_date)=$P!{year}

The value for $P!{month} and $P!{year} will be passed from my java app.There are two other sub-reports which also need these month and year parameter.

 

I tried but failed,there is a little problem somewhere.

PLS HELP ME.

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...