Announcements
Hi,
I have the multi lookup.In that the already selected companies does not preselected in the lookup.
For example: I selected three values in lookup again i click the look up the selected values are not marked as selected.Why?
Thanks
Hi John,
Do you have this behavior on a standard form or is this a customization? If it is a customization, then compare with out of the box multi lookups how it has been implemented and if something was forgotten.
I just answered the exact question in this thread. I will put the code here as well
public void lookup() { QueryBuildDataSource qbds; container selectFields = conNull(); Query query = new Query(); qbds = query.addDataSource(tableNum(CompanyInfo)); qbds.addSelectionField(fieldNum(CompanyInfo,DataArea)); qbds.addSelectionField(fieldNum(CompanyInfo,Name)); SysLookupMultiSelectCtrl::constructWithQuery(element, MultiLookup, query, false, selectedFields); }
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 407 Super User 2026 Season 1
Subra 394
Martin Dráb 275 Most Valuable Professional