Jump to content

problem handling sub report


gauravs

Recommended Posts

Hi All

                I am working with i-report 2.04. I am facing one problem while handling sub report functionality 

 I am getting some query result rows from main report and I have passed it to subreport as parameter is it rite I want different value for each parameter value depend upon.

 

               for e.g

 Query In Main report 

select account_id from fact_acct

which gives result as

 

account_id

1000000

1000001

1000003

1000002

1000004

.

.

 

and I am passing this account_id to my subreport parameter 

 

Is this rite I want different results for different account_id

means 

I have created subreport parameter as account_id 

and my query for subreport is 

        select acctcr-accdr from acct where account_id=$P{account_id}

 

is this rite please help me out 

 

thanking you in advance 

gaurav sontakke

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

 Hi All 

                 I have found that that if I do like this then it shows only first record of the result .

 

It don't shows other records ...

why this is happening ..

 

 

please help me out 

 

 

Thanking You 

gaurav sontakke

      

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