Fetch records from a subform to a Multi-Select Dropdown

Fetch records from a subform to a Multi-Select Dropdown

Hey there,
How can I fetch records to a form B from a subform which is a part of the form A which to get the value of the lookup field and store it in form B. The subform is not an inline subform.

Any help would be appreciated.

Thanks in advance!