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

CRXI-Dynamic Parameter not required, possible?

Status
Not open for further replies.

marcela79

Programmer
Sep 16, 2004
16
US
Hi,

I have a report that has 4 parameters, one of them is a Dynamic type of prompt. The other three are static and I have a default value of 'ALL' making them "optional". I want to do the same for the dynamic prompt. If a user enters a value in any of the other prompts, I don't want the user to have to select something in the dynamic prompt, is this possible? If so, how?

Thank you!
 
You could create a command like this:

select table.`field`
from table

union

select 'All'
from table

Then write a record selection formula like this:

(
{?parm} = 'All' or
{table.field} = {?parm}
)

-LB
 
I'm sorry but this is my first time creating commands, Where do I create the command?

Thank you!
 
I forgot to mention that the dynamic prompt I'm trying to create is a cascading one... Does this make any difference in your suggestion?
 
Yes, it does matter. The command doesn't really work for a cascading prompt.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top