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

generate report with parameters


amit.barkai

Recommended Posts

I tried without any success so far to understand to IReport logic 

i have a stored procedure with 2 parameters , all i want is to display the procedurte result in a simple table

i am using IReport 5.0.0 with sql server 2008 R2

can somone tell me what am i doing wronge

1. i create 2 parameters ( the procedure paramters) on the report

2.create 2 parameters for the procedure dataset 

3.create a table object and conected it to the dataset

3.edit the table dataset =>go to the parameters tab and mapped the report parameters to the dataset paramers 

4.complied the report

while tring to generate the report the user is asked to enter the parameters

and noting happen ( the procedure is not executed at all)

thanks

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

the only way i could generate a report is with single query

meaning there is only one dataset ( create from the report query)

drag the wanted fields to the report ( or chart in my case)

and then the report could be generated

another wired problem is when i created a report with parameters and upload the report to the server

i still had to manually add the reports parameters (contorls) to the report

Link to comment
Share on other sites

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...