cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Providing options for parameter values

Newbie

Providing options for parameter values

I'm wondering if anybody has a slick method for providing a user with a predefined list of options for a STRING parameter, rather than allowing the user to add his/her own value for that parameter. For example...a string parameter called COLOR with only the values BLUE, RED, and GREEN available to pick from a drop down or otherwise.


Any help would be greatly appreciated.


-Tom


3 REPLIES 3

Providing options for parameter values

Absolutely! It's called a restricted value parameter and it's controlled by a restricted definition file. Here is the relevant help section.



Tom U.

Providing options for parameter values

Tom

You want to use a restricted parameter list.

Providing options for parameter values

Tom,
I believe you can use MODEL CHECK to have user select a pre-defined values. If you don't want to use model check, then off the top of my head you can use custom menu with mapkeys to do the same thing.

Select TOOLS -> CUSTOMIZE SCREEN

[cid:image001.png@01CFCB82.D9906660]

Drag the NEW MENU onto your toolbar and rename it to something meaningful...Add sub-menus which calls out for the mapkey which adds the correct value for the parameter in the model.


[cid:image002.png@01CFCB82.D9906660]

I hope this helps...Good luck!

Calvin