Hi,i m new in Dax2012 and i learn about it.
I create a form and a new table, now i want to fill the combobox by data of one column of table.
is there a way to do that without x++
Thank you
Hi,i m new in Dax2012 and i learn about it.
I create a form and a new table, now i want to fill the combobox by data of one column of table.
is there a way to do that without x++
Thank you
You should really spend some time with the documentation and/or read a book about AX development (e.g. Inside Microsoft Dynamics AX 2012). You don’t know even the right term to search for.
What you need is a lookup. You usually just let AX to generate one for you based on a table relation.
Hi ahmed,
To do this i created extended data type and base enum as type for table fields.
In the init method of form i used a select to fill these.
example:
while select * from YourTable where YourTable.YourFieldName == “NameOfField”
{
cmbNameOfField.add(YourTable.NameOfFieldThatYouUseToFill);
}
Tell me you need more explanations.