Populate selection-list based on value in a combo-box

Dave Grandon

New Member
Hi folks, got that Monday morning feeling and a serious case of brain fade. I have a smart-viewer with a combo-box for main condition and a selection list to allow for multiple sub conditions. I can update and save the values as a comma separated list in a field and that all works great but whenever I re-load the record, the condition is populated correctly but the selection-list says invalid value 40,41 (the correct sub-condition I’d values, been trying all sorts of ways to populate the selection-list but to no avail. So thought I should ask the experts.
Cheers
 

Osborne

Active Member
Which of these options are you using to populate the selection-list?:
Code:
vSelectionList:add-last(vValue).
or
Code:
vSelectionList:LIST-ITEMS = vValues.
Can you provide a code sample.
 
Top