I love how VBA lets me load a whole table into a listbox using a SELECT query.
Currently I have a collection of invoices - invoice-objects - it's a weird mixture built from non-table sources. I need to display the collection on screen. (Due to some complicated dynamics furnished as special options for the user, I must use a collection, not just recordsets).
One way to do this, I suppose, is to load the invoice-objects into a temp table and then populate the listbox from the temp table.
Or is there a way to loop through my invoice-collection populating the listbox one row at a time?
Currently I have a collection of invoices - invoice-objects - it's a weird mixture built from non-table sources. I need to display the collection on screen. (Due to some complicated dynamics furnished as special options for the user, I must use a collection, not just recordsets).
One way to do this, I suppose, is to load the invoice-objects into a temp table and then populate the listbox from the temp table.
Or is there a way to loop through my invoice-collection populating the listbox one row at a time?