Skip to Content
Former Member
Apr 21, 2011 at 12:10 AM

Dynamically Set Range Table Values in Select-Options


Without knowing the range table type, how does one set the range table values for a select-options component field?

I can do this easily if I know the data type, however I am attempting to do so without knowing. I can see that the select options if does have reference to the M_VALUE_FIELD_RTTI which contains the absolute type however, it is protected and I cannot access it.

Or perhaps I do not need to use the type? My current attempts have been by using the get_range_table method and then populating it and passing to set_range_table method. Of course, I can only get this to work with a known data type.

Any suggestions?