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

Cascading Prompt?

Status
Not open for further replies.

MK_USF

IS-IT--Management
Mar 3, 2017
15
US
I have a "yes"/"no" prompt. If the answer is "yes" then force an additional prompt. It is the response to this additional prompt that I want to select/filter on. If its "no" then just do the reset of the select formula.

Do I use a cascading prompt?

My logic (sorry if this is confusing):
If {?YNPrompt} = "yes" then {?NamePrompt} else false? <-- this has to be boolean correct?

How is this written into the select formula?

Thank you in advance
 
You don't need to use cascading for that.

(isnull({?NamePrompt}) or {table.name} = {?NamePrompt})

you could also use
({?NamePrompt = "ALL" OR {table.name} = {?NamePrompt})
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top