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!

Formula default parameter value

Status
Not open for further replies.

jleboeuf

Programmer
May 2, 2001
50
0
0
CA
Hi,

First I'm using CR 11 and what I would like to do is assign a different default value on a parameter depending on a previous parameter choice.

Can this be done ?

Thanks

Jean-Paul Leboeuf

jp.leboeuf@ggi-international.com
 
I'm pretty certain you can't. You can get the same effect, using a formula field that assigns different values on the basis of another parameter.

[yinyang] Madawc Williams (East Anglia, UK). Using Crystal 11.5 with SQL and Windows XP [yinyang]
 
Can you give an example of what you mean?

-LB
 
Something like
Code:
If @Param2 = "Default"
  then if Param1 = "Chalk" then "Marble"
  else if Param1 = "Cheese" then "Chedder"
else @Param2
This won't make any difference to what the parameters show, but you can set a default value in the parameters.


[yinyang] Madawc Williams (East Anglia, UK). Using Crystal 11.5 with SQL and Windows XP [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top