in my code I get by SQL query two-dimensional array inside Variant queryResult.
queryResult = RetrieveRecordset("SELECT * FROM Materials;")
Array then looks like:
And if I try to fill up Combobox
cbSTPScrewedMaterial.List = queryResult
It fills only values 1 and Plastic, but I wish to get values from Plastic to Hard Plastic -> queryResult(1) on image above, but when I type
cbSTPScrewedMaterial.List = queryResult(1)
VBA echoes me Runtime Error 9: Subscript out of range. Do you have idea, what I'm doing wrong and how to solve it?
