Load dropdown list from file with 2 selection fields
Posted: Mon Apr 30, 2012 4:38 pm
I am having trouble loading a drop down selection list directly from a table. I need to load the list with the value of one column based on the values of two other columns. I cannot really find a good description of the components of database driven selection.
Choices database file = FSTRUDC
Choice options field = SYCODE, SYUSC1
Choice Values field = SYDES1
Choice Selection critera = sycode='STAR', syusc1='COMMENTS'
Order by = SYCODE, SYUSC1
The value of SYDES1 is what should be in the drop down list, but so far nothing is in the list. I am kind of frustrated with this. Everyone else has given up and loaded them programatically, but I want to make this to work the way I think it is supposed to do it.
Any help would really be appreciated.
Choices database file = FSTRUDC
Choice options field = SYCODE, SYUSC1
Choice Values field = SYDES1
Choice Selection critera = sycode='STAR', syusc1='COMMENTS'
Order by = SYCODE, SYUSC1
The value of SYDES1 is what should be in the drop down list, but so far nothing is in the list. I am kind of frustrated with this. Everyone else has given up and loaded them programatically, but I want to make this to work the way I think it is supposed to do it.
Any help would really be appreciated.