How pass parameter to sub repeort? 
Author Message
 How pass parameter to sub repeort?

Hi,

I have design one report template using CR9.0. My report contains one MAIN
section along with TWO SubReport.  I want to pass same parameter value in my
subreports which is passed to MAIN Section.

Datasource for my each report sections are stored procedures.
Main Section is populated using storedprocedure_1 where  name and rollno are
argument parameter.


parameter.

Instead of passing rollno value twice in report. I want to pass it only
once.

Please let me know how to pass the value to subreport from main section.

Thanks in advance.
    Kishore

Rdgs,
    Ravie



Mon, 07 Nov 2005 16:19:34 GMT  
 How pass parameter to sub repeort?
When you can't pass the actual parameter field,  there's a simple workaround:
Set up a formula SubParam that consists only of the value of the parameter:
BeforeReadingRecords ;
{?MainParam}

Then pass SubParam as the parameter to the subreport  You can't pass a range,
so you'd need to create 2 formulas, one for the minimum and one for the
maximum.

<< Subject: How pass parameter to sub repeort?

Date: Thu, May 22, 2003 3:19 AM

Hi,

I have design one report template using CR9.0. My report contains one MAIN
section along with TWO SubReport.  I want to pass same parameter value in my
subreports which is passed to MAIN Section.

Datasource for my each report sections are stored procedures.
Main Section is populated using storedprocedure_1 where  name and rollno are
argument parameter.


parameter.

Instead of passing rollno value twice in report. I want to pass it only
once.

Please let me know how to pass the value to subreport from main section.

Thanks in advance.
    Kishore

Rdgs,
    Ravie
 >>



Tue, 08 Nov 2005 07:08:09 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Question on passing array parameters to VB.NET Sub/Function

2. Pass parameter to Sub Main() procedure

3. passing parameters to Sub Main

4. Pass parameter to Sub Main() procedure

5. Passing a userdocument as a parameter to a sub or function

6. Problems with passing parameters by reference to a sub program

7. Passing "Sub" as parameters

8. Passing a parameter to a sub-report?

9. how to pass parameter to Sub Report

10. How to pass the parameter to the sub report

11. Passing Parameter to sub-report

12. Passing Parameters into Sub Reports from VB6.0

 

 
Powered by phpBB® Forum Software