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

subreports and shared variables 1

Status
Not open for further replies.

johnjrd

MIS
Jun 6, 2001
54
GB
Hi

Ive been working on a report which has two subreports all linked together by the key field Course Code, i am then passing shared variables between the subreports to the main reports to work out actual/expected hours, all this works fine except that the first record results appear against the second course i.e

calculated fields Data from Subreports
Cse Cde No. Enrol Exp GLH Act GLH exp ses act ses
er901269 2 0 0 100 78
er901270 10 200 156 50 25
er901271 10 100 50

etc etc

any ideas what im doing wrong, any help would be greatly recieved

thanks
 
You may have shared variables being processed in the same section of the main report as the subreport that generates them. In some cases I have had to split a section into A and B components to get the formulas to evaluate after the subreport is complete. Ken Hamady
On-site custom Crystal Reports Training and Consulting.
Quick Reference Guide to using Crystal in VB.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top