Select to view content in your preferred language

Using Tool Validator to populate a drop-down with values from a table column

2350
2
11-15-2010 09:24 AM
MikeDriver
Emerging Contributor
For Model Builder, Python, and v9.3.1...
Can anyone provide a general how-to and/or existing code that would work to get a drop-down box on a gui containing unique values from the column of a table using the Tool Validator?  Never used this before, an example would help me get the picture, to build from.  Any guidance would be much appreciated, thanks!
0 Kudos
2 Replies
LoganPugh
Frequent Contributor
See my post here: http://forums.arcgis.com/threads/17590-Adding-a-drop-down-menu-to-a-python-script?p=55719&viewfull=1...

The original poster deals with feature datasets within a geodatabase, not tables and values from tables but it should get you going in the right direction.
0 Kudos
MikeDriver
Emerging Contributor
Thanks, this should help!
0 Kudos