Announcements
No record found.
Hi Experts,
I have a requirements that I should have a dropdown field in a form grid and the user should be able to select multiple records. specifically the dropdown should be the production orders list and if the user select 2 or 3 production orders together and press OK the sum of quantity produced for those orders should appear in the field. Is this possible if I create a lookup form, call this form as a look up for the field and add code to calculate the sum of quantities in the clicked method of OK button ? or I must go for SysLookupMultiSelectGrid class.
Thanks in advance.
It is possible in both ways. If you do a custom lookup form, you have to pass the value you calculated back to the caller.
When you use SysLookupMultiSelectGrid, you need to fill the RecId list into the container and calculate the sum in the loop.
yasirnedian.blogspot.com/.../how-to-select-multiple-selected-values.html
Hi Ergun,
Thanks for your response. Kindly note that the sample you have provided will not work with a grid field control. Is there any sample If it is possible to get it done by custom lookup form ?
Sorry, they don't differ much for me, but you're right, I misled you.
I did not review the example below in detail, but if I'm not mistaken, the structure you're looking for must be something similar (see the last sections).
I'll share a better example when I have time
dynamicaxassist.blogspot.com/.../using-multi-select-lookup-on-string.html
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 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 694
André Arnaud de Cal... 646 Super User 2026 Season 1
CP04-islander 337