Passing multiple selected values from form to dialog

Hi,

I am having a requirement it should dispaly a dialog with 2 enum values say(vendor,vendor group).when i select a vendorgroup it should open vendor group form.now from vend group i need to select multiple vendor groups and need to send the selected multiple vendors to the dialog.could any one help me on how to achieve it

Hi

r u using Ax 2009 or 2012?

If you want to have multiselectControl on lookUp. (Or) you can also use MultiSelectionHelper classes to iterate the selected record in grid and then extract those values to dialog.