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

Help with perameters

Status
Not open for further replies.

RavenXIII

IS-IT--Management
Mar 18, 2007
26
AU
Hi Im a newb so please be nice

Im using CR 8.5 an i have a report with 3 subreports in details a,b and c what i need to do is set a parameter so i can select which ones get displayed/run weather it be all or just one.


Thankyou
 
It is unclear what you problem is. Is it with a parameter, or the subreports?

Have you created your parameter and is it prompting you as expected?

Does the main report restrict the records to those indicated by your parameter?

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports

"If you have a big enough dictionary, just about everything is a word"
--Dave Barry
 
You can suppress a section, which means that any subreport in the section will not be run. Right-click on the left-hand margin for the section. You'll get several options, including Suppress. To do this selectively, choose Format Section. Then choose the formula icon (x+2 and a pencil) for suppression etc.

The formual could be something like
Code:
@Param in ["A", "D", "E", "G"]
In this example, value A suppresses just the first, D the 1st and 2nd, E the 1st and 3rd, G all three.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Thanks Madawc it all works great thanks heaps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top