October 21, 2019, 11:32 AM
I_am_groot[SOLVED] Input selection as a dropdown in fex (not in html)
Hi I am trying to get user input to be used as the 'BY' field.
The following code allows me to do so. But, the input selection appears as a 'text box' in the dynamic prompt.
I want the options listed in a dropdown list box.
How do I change the SET input field to prompt as a listbox or a radio button, etc.. ?
-SET &BY1 = DECODE &USER_SELECTION ('COUNTRY' 'COUNTRY' 'CAR' 'CAR' ELSE 'MODEL');
TABLE FILE CAR
PRINT SALES
DEALER_COST
BY &BY1
END
Thanks
This message has been edited. Last edited by: FP Mod Chuck, October 21, 2019, 12:07 PM
BabakNYC
-DEFAULT &BY1 ='MODEL';
TABLE FILE CAR
PRINT SALES
DEALER_COST
BY &BY1.(<COUNTRY>,<CAR>,<MODEL>).Select one.
END
October 21, 2019, 12:57 PM
I_am_grootThank you @BabakNYC. It works!
This message has been edited. Last edited by: I_am_groot,