Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

reports and subreports shared vars

Status
Not open for further replies.

peterve

IS-IT--Management
Mar 19, 2000
1,348
NL
Hi,

I'm using CR9, and I'm having some difficulties to get my report to work

I have a main report, which has 4 subreports. The entire report needs to fit on 1 page, so I had to place subreport 1 & 2 on the left half of the page, and subreport 3 and 4 on the right half.
Code:
---------------------------
| SomeStuff  | OtherStuff |
|  SR1       | SR3        |
|- - - - - - |- - - - - - |
|            | varFromSR3 |
|            |            |
|  SR2       | SR4        |
|-------------------------|
I need to pass a variable from subreport 3 (which is in the upper right corner of my main report) to a variable just below that subreport.
How can I pass a variable from the subreport to the main report without messing up the report structure ?

Thanks

--------------------------------------------------------------------
--------------------------------------------------------------------
How can I believe in God when just last week I got my tongue caught in the roller of an electric typewriter?
---------------------------------------------------------------------
 
Place a formuia in the header of main report declaring shared variables, then declare and use the same shared variables in the appropriate formulae of SR3 and SR4.
 
I'll give that a try

--------------------------------------------------------------------
--------------------------------------------------------------------
How can I believe in God when just last week I got my tongue caught in the roller of an electric typewriter?
---------------------------------------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top