Example...
Dim arrMatls (1 to 3, 1 to 6) As Variant
Dim i as Integer
Dim j as Integer
For i = 1 to 3
For j = 1 to 6
arrMatls(i,j) = i * j
Next
Next
For i = 1 to 3
For j = 1 to 6
Debug.Print arrMatls(i,j)
Next
Next
--
Paul Overway
Logico Solutions, LLC
www.logico-solutions.com
"Jim" <(E-Mail Removed)> wrote in message
news:2758c01c462d2$d125b4e0$(E-Mail Removed)...
> I am looking to carry a grid of various types of
> information in a single variable. The grid is 3 rows by
> six columns. I seem to have "dim"d the array OK (at least
> VB doesn't bark at me)...
>
> Dim matls(1 To 3, 1 To 6) As Variant
>
> ...but I cannot seem to populate its individual rows with
> the six pieces of data that need to go there. Help in
> Access seems limited to one-row arrays. Anyplace I can go
> to see an example?
>
> Thanks!