Typically this is done by setting a default value of "All" for each parameter. Use the Set Default Value button to add in a default value within the parameter editor.
So then the record selection states:
(
if {?account_parent parameter} <> "All" then
{table.account_parent} = {?account_parent parameter}
else
if {?account_parent parameter} = "All" then
true
)
and
(
if {?account_sub parameter} <> "All" then
{table.account_sub} = {?account_sub parameter}
else
if {?account_sub parameter} = "All" then
true
)
Now if they set the account_parent parameter to All, then it will observe the account_sub parameter only, or if they set something in the account_parent parameter and set the account_sub parameter to All, it will show only the account_parent values, plus it gives them the opportunity to select specific parents and children.
Unfortunately Crystal 10 does not have dynamic parameters, but you can also preload the values as static from the database and they can select them rather then enter them, just make All the first choice in each, which then makes it the default.
-k