Multiselect for Lookup :
·
ClassDeclaration
SysLookupMultiSelectCtrl
msCtrlUnit,msCtrlFloor,msCtrlBuild;
·
Init Method : Floor and BuildingID is the field name in design,these are
stringEdit fields at the form design level
·
After super()
msCtrlFloor =
SysLookupMultiSelectCtrl::construct(element, Floor, querystr(RentalInquiryTmpFloor));
msCtrlBuild =
SysLookupMultiSelectCtrl::construct(element, BuildingID, querystr(RentalInquiryTmpBuild));
·
Floor and
BuildinID modified method
public boolean modified()
{
boolean ret;
ret = super();
ServiceUtility_ds.executeQuery();
ServiceUtility_ds.refresh();
ServiceUtility_ds.reread();
return ret;
}
No comments:
Post a Comment