I have several scripts that I have working from inside PythonWin. I am now experimenting with running these from inside ArcMap 10.0 so I can have a user define the parameters of the script. An important part of designing this popup for the user is choosing a "data type" for each parameter. However, I find ESRI's information about data types for parameters of little use for figuring out which to choose to get different results for user interaction.
For instance, say I have a script uses the dissolve tool in some way and I would like to have the user choose what type of "statistics_fields" they want in the final resulting shp file that the script returns (there are nine choises: FIRST, LAST...etc). Specifically, I would like to know how to choose the correct data type for this parameter so that the final user interface:
a) Provides a list of all nine choices available and allows the user to pick up to 9 variables that they would like to be included in the attribute table of the resulting shp file.
b) Provides a list of all nine choices as a pull down menu and allows the user to only pick one that ends up in the attribute table of the resulting shp file.*
How can I accomplish a) and b)? Perhaps I need to do more than just choosing the right data type?