Can an ArcGIS Tool have a drop down field with unique values derived from a list? For example, user selects a table, the tool will then find all of the values in field X and populate a drop based on this.

I've been playing with parameters but can't get anything to work. The closest I got was is creating a drop down with the field names.

ArcGIS Tool Box