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

Using shared variables 1

Status
Not open for further replies.

ruan123

Programmer
Jul 23, 2004
23
ZA
When I am passing a number field in my subreport's detail section to my main report's detail section with a shared variable, the first record is always 0.00. Is there an explanation for this?
 
If the subreport is in the main report details, and linked on some detail level field, then the subreport will haveto fire PRIOR to using the shared variable in the details of the main report, so right click the details and select insert section below and place the subreport in the details A section above, and then in details section B you can safely reference the shared variable passed back.

Your post lacks information about version of software, database, intent, sample data, report layout, expected output, so it's difficult to advise you further.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top