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!

Problems with passing variables from sub reports

Status
Not open for further replies.

PQTIII

IS-IT--Management
Sep 21, 2004
110
I have yet to get this passing data from a sub back to the main right. I put the sub report in the header section of the main. No matter where I put @get date it always come up 0. I can't figure out what's going wrong.


I have @pass date in the footer of the sub:

WhilePrintingRecords;
shared numbervar shift:=Maximum ({hist_loads.shiftindex})

I have @get subshift in the footer of a group in the main:

WhilePrintingRecords;
shared numbervar shift


Thanks Paul
 
Make sure you don't have the report header suppressed. All sections of the subreport can be suppressed, but the section in which it is placed cannot be.

-LB
 
Have you checked that the value is non-zero in the subreport itself?

[yinyang] Madawc Williams (East Anglia, UK) [yinyang]
 
Lb

Looks like I had the section suppressed. Thanks a million! It works fine now.

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top