preloader-matrix

Alfasith

Form Controls in AX

Form controls belong to one of three groups, depending on their data source as follows:
  • ·         Bound control – associated with a field in an underlying table. Use bound controls to display, enter, and update values from fields in the database.
  • ·         Unbound control – does not have a data source. Use unbound controls to display pictures and static text.
  • ·         Calculated controls – uses a method as the data source. An example of a calculated control is the sum of two fields on a form.

 Example for Unbound Control
—->Here roles(Purpose) is a StringEdit control in the form. For this control, we should get the Drop down for selecting the Purpose
—-> Here the data we r getting from the lookup is not from the Datasource,that’s y we call this control as UNBOUND Controls
 SysLookupMultiSelectCtrl   rolesCtrl;
rolesCtrl = SysLookupMultiSelectCtrl::construct(element, roles, queryStr(LogisticsLocationRolePostalLookup), true, [tableNum(LogisticsLocationRoleTranslation), fieldNum(LogisticsLocationRoleTranslation, Description)]);
Share on email
Share on facebook
Share on twitter
Share on linkedin
Share on pinterest

Leave a Reply

Your email address will not be published.