Suppose I create a number of clsEmployee objects from a recordset. Great! Now I can loop through the employees.
As you can see I've stored the employee property values in a listbox. However, are there any controls in Access that can hold actual objects iso just the values?
Code:
Dim employee As clsEmployee
dim employees as Collection
... recordset loads employees in collection ...
For Each employee In employees
listbox.AddItem employee.ID & ";" & employee.Name
Next
As you can see I've stored the employee property values in a listbox. However, are there any controls in Access that can hold actual objects iso just the values?