Click to See Complete Forum and Search --> : How to size cols using MSHGrid Control
Smithrr
Sep 7th, 1999, 08:29 PM
I have created a Shaped recordset and passed it as my datasource to a MSHGrid. Of course not all of the records have child records so (In my case) after two columns there may or may not be more. When I check to see how many columns there are (mshgrid.cols) I get 3. However in some cases there are 6. How can I refer to these columns?
You mean get the the values from the columns?
Try the TextMatrix property
GRID.TextMatrix(Row,Col)
------------------
Vincent van den Braken
EMail: azzmodan@azzmodan.demon.nl
ICQ: 15440110 (http://www.icq.com/15440110)
Homepage: http://www.azzmodan.demon.nl
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.