Switching Valuelists

Hi

I have field with a type ahead value list associated with it. I want to the user to be able to switch this to another type ahead value list via my solution preferences.

Is there a way to switch value list for a form element? There is a fx getvaluelistname but no SetValuelist fx. Any other way to do it (Can the preference setting form a dynamic valuelist).

I could have many thousands of items in the value list.

You can set a custom valuelist, so why not define the content/query of the valuelist in the preferences and load that into the custom valuelist.

Thanks Marcel

will have a play with this.