Cetin,
I'm assuming that the array columns pertain to the different data elements, much like fields in a table.
If you are storing different elements within different rows in your array, then my prescribed method of mapping a grid to an array will give you some strange results.
Why wouldn't you use an array with 6 columns for your example and just store the different results in a single row?
i.e. instead of
myarray[1,1] = "TEST1"
myarray[1,2] = "TEST2"
myarray[1,3] = "TEST3"
myarray[2,1] = .f.
myarray[2,2] = date()
myarray[2,3] = 12345
you could have:
myarray[1,1] = "TEST1"
myarray[1,2] = "TEST2"
myarray[1,3] = "TEST3"
myarray[1,4] = .f.
myarray[1,5] = date()
myarray[1,6] = 12345
This way, your array-bound grid would work fine.
I know it works 'cause we have several grids in our app that are mapped to object array properties.
Regards,
-JT
Jeff Trockman, MCP