I want to pass an array of arbitrary size from one form to another. The array would contain employee numbers PIC 9(9) and a flag to say whether the employee had been selected.
Basically, from the main form the user can press a List... button which calls up a subform. This subform contains a multiselect ListView which is populated from a flat file of employees. There could be 1 employee in the file, or thousands, so no limit. When the user has selected the employees they want and the subform is closed, then the selected employees are passed back to the main form for processing.
Currently, I am using the linkage in public methods to pass data between forms, but the size of the data is known. I know SteveC had a similar problem recently but the complete solution was not provided.
I need to know the best way to go about passing the information required back to the main form. Thank you.