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

Cascading Input Paramters ?

Status
Not open for further replies.

ricolame

IS-IT--Management
Nov 9, 2005
82
CN
Hi folks,

Would need so advice on this : I have created an input parameter that do conditionally grouping say, by Part and by Warehouse

Supposed user choose group by Part, I need to have another cascading input parameter that prompts user to enter a part id or say type ALL and it will list just that part, or all the parts in it respectively.

Similarly if the user choose warehouse, then it will prompt
for warehouseid. User has the option to enter just a particular warehouseid or type ALL to list all the warehouses.

Is this possible ? Any quick guidance on this ? Thanks so much!

 
You can approximate this by creating the three parameters, {?Type} (Part or Warehouse), {?Part} with all possible values entered as options and the word "All", and {?Warehouse} with all possible values entered as options and the word "All".

In the record selection formula you would use something like:

if {?type} = 'part' then
(
if {?Part} <> "All" then
{table.partID} = {?Part} else
if {?Part} = "All" then true
) else
if {?type} = 'warehouse' then
(
if {?warehouse} <> "All" then
{table.warehouse} = {?warehouse} else
if {?warehouse} = "All" then true
)

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top