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!

Is there anyway to tell what section I am in (detaila, detailb, etc)

Status
Not open for further replies.

SBendBuckeye

Programmer
May 22, 2002
2,166
US
I have a subreport which prints in 1 of 2 formats depending on a parm that is passed. I want to put 1 format in report footer b and the other format in report footer c.

What is the best way to pass a parm to the subreport in this context?

Thanks in advance for the help!
 
If it's on, turn off the default linking behavior (whereby Crystal attempts to match the parameter with a column inside the subreport).

Then use the paraemeter inside the subreport to control the suppress attribute of the sections (so that one is suppressed and the other is not depending on the parameter value. You simply create an expression for the suppress attributre that evaluates to TRUE or FALSE depending on the parameter value.

hth,
- Ido CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top