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!

How to suppress subreport linked with variables

Status
Not open for further replies.

LenPa

Technical User
Oct 24, 2002
1
US
I am using Crystal 8,5
I have inserted a subreport in the Report Header section.

In the subreport, Variable Declared:
shared numbervar a = sum({ado.AMOUNT},ado.CONTRACT}

In the main report, Variable Declared:
shared numberVar a

My Result:
1. The value for the variable I created in the subreport is passed to the main report. (GOOD!!)
2. I don't need the subreport to display on my report, but when I try to suppress the report section(Report Header), of the subreport, or the subreport sections, then the value for the variable is not passed, a 0 <- zero displays. (BAD)

Is there any way to suppress the subreport and have the amount the variable is defined for display???

Thanks!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top