Advertisement

07.21.2008 at 11:26AM PDT, ID: 23582830
[x]
Attachment Details

For Record Selection, how do you use multiple parameters when multiple fields involved?

Asked by uwhc in Crystal Reports Software, SQL Reporting

Tags: Business Objects, Crystal Reports, X, SQL

I am attempting to build a single report that will have its Record Selection based on a parameter, which in turn will affect the need to choose further parameters depending on the initial one chosen.

The first parameter (Scope) needs to have the following values:  Department, Team, Technician

-If Department is chosen, field 'Department'=Dept1(set value)
--If Team is chosen, that needs to call a secondary parameter 'Team'.  From Team, a list of values can be chosen and the chosen value would be used for field 'Team'.
--If Technician is chosen, that needs to call a secondary parameter 'Technician'.  From Technician, a list of values can be chosen and the chosen value would be used for field 'Technician'.

If I put all of the parameters into the Record Selection using an If/Then statement, I'm prompted to enter values for everything reagrdless of what is chosen for the first parameter.  I know I would run into the same issue if I went the subreport/suppress route if I did each as its own report.

Is there a way to do this without having entirely separate reports?

Start Free Trial
[+][-]07.21.2008 at 12:16PM PDT, ID: 22053482

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Crystal Reports Software, SQL Reporting
Tags: Business Objects, Crystal Reports, X, SQL
Sign Up Now!
Solution Provided By: mlmcc
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.23.2008 at 06:26AM PDT, ID: 22069051

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628