celeron895
Programmer
I am using a pass-through sql statement to select an id and name from a table and populate the contents of a drop down list with a list of the names. (select id, name from table)
After selecting a name in the drop down box, I need to populate another field on the form with the id that corresponds to the name selected.
I can do this task by creating another pass-through sql statement (select id from table where name = name selected), but that seems silly since I can select it with my initial statement.
I don't think Dexterity has the data structure that I need to perform this lookup. Any ideas?
After selecting a name in the drop down box, I need to populate another field on the form with the id that corresponds to the name selected.
I can do this task by creating another pass-through sql statement (select id from table where name = name selected), but that seems silly since I can select it with my initial statement.
I don't think Dexterity has the data structure that I need to perform this lookup. Any ideas?