Changing valuelist associated with combobox

Hi,

Is it possible to change the valuelist shown for a combobox, in the script? I have two lists on the same form, the option selected from the first needs to change the available options in the second list.

However, valuelist does not appear to be a property that I can change on the fly.

Would it be case of having to define multiple comboxes each with their own value list and then hiding/displaying only the appropriate object?

Kind regards,

Tony

Hi,

have a look at application.setValueListItems(name, displayValArray / dataset, [realValuesArray], [autoconvert(false)]), there are good samples is you choose “Move sample”

Regards

Thanks. It’s not quite what I had in mind but does seem to have done the trick. :)

Tony