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

Optional or Conditional Parameter / Prompt

Status
Not open for further replies.

khan007

Programmer
Jun 10, 2003
103
0
0
CA
I have a quick question, please reply...
I am using Crystal 2008.

One of my report has 5 parameters.

1) Options (On Demand, Weekly, Monthly 3 static values)
2) Date From
3) Date To
4) Legal Value,
5) Exchange Rate

When user want to run the report and select an "On demand" option in Options parameter then report should prompts for all five parameters

BUT

When user run this report with first parameter selecton as "weekly" or "monthy"

report should only ask for one prompt i.e Legal Value.

Other three should be hide or disabled.

Please advise.

Do you think "Optional prompt" property has somethong to do with this logic using (not HasValue({?My Parameter})
 
I don't think you'll be able to force or disable populating a parameter based on the value of another parameter. You'll have to educate your users to not complete the inappropriate fields when choosing Weekly or Monthly.

Yes, optional prompts relate to the HasValue test.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top