Getting Field Variable to show available fields in Table View

Discussion created by sbrennan on May 15, 2012
I want to set up a simple model which selects features which have a date field value greater than or equal to a user-specified date. The date field value is also user-specified. The date field and date variables are used in an Expression variable using in-line variable subsitution (%Field% >= #%Date%#). This Expression variable is one of the paramters for the Select Layer by Attribute tool. This all works properly when I manually set the value of the Field and Date variables and then run the model.

My question is, how do I get the Field variable to show the fields of the input Table View when the tool is invoked by the user? The drop down of course is empty for the Field parameter.