Is it possible for a ComboBox to use data from a table instead of a enum?
If so, what is the recommended way to do this? I have tried adding this code to the init method of the form:
combobox.clear();
AxTable tbl;
while select * from tbl
{
combobox.add(tbl.Name);
}
But when I try this the combo box loads the first result, but is disabled and does not allow for changing the value.

Which makes me think this is not the correct way to do this.
If this is not possible, is there another type of control that would allow for this type of functionality?
This question has been asked before
https://dynamicsuser.net/ax/f/developers/75598/fill-combobox-with-table-data
http://daynamicsaxaptatutorials.blogspot.com/2010/06/fill-combo-box-using-axapta-x-code.html
https://community.dynamics.com/ax/f/33/t/93167
But there was not a real answer that works for this.
Any help (and code if possible) is appreciated!
*This post is locked for comments
I have the same question (0)