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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

shared var problems ??? 1

Status
Not open for further replies.

PQTIII

IS-IT--Management
Sep 21, 2004
110
CR.9

I'm passing a variable from a sub back to the main fine, but it is showing up on the next line instead of next to the subreport. How do you get that shared var on the same line as the sub report. After it passes back the var I need to use it in a formula for that group on the same line. Is that possible?

Thanks Paul

Group {subreport} {get var} {formula}

Want:
MC343 {subreport} 1000 10
MC344 {subreport} 2000 20
MC345 {subreport} 3000 30
MC346 {subreport} 4000 40

Getting:
MC343 {subreport} 1000 0
MC344 {subreport} 2000 10
MC345 {subreport} 3000 20
MC346 {subreport} 4000 30

 
Unfortunately, you can't. You can only access the shared variable in the next section.

What are you trying to do?

-lw
 
There is a work around. Format the section with the subreport and click on Underlay following sections. That would make the report appear like the shared variable is in the same section

-lw
 
lw

The Underlay did what I needed. Thank you!

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top