PDA

Click to See Complete Forum and Search --> : matrix from flexgrid


valvoj
Jul 26th, 1999, 08:48 PM
I'm using VB6 and wondering if its possible to make a matrix from a flexgrid. I have 3 columns( Name, Class, Qualified) If the person is qualified they get an 'x' or the cell is left empty For example.


Class1 \ class2 \ Class3
Joe x \ x \ x
John x \ \ x
Jill \ x \ x

Any ideas on how to make this from a grid

[This message has been edited by valvoj (edited 07-27-1999).]

thorne
Jul 27th, 1999, 12:29 AM
if by a matrix you mean a multidimensional array then:

dim myarray() as string

redim [preserve] myarray(3, MSFlexgrid.rows-1)

this will create an array of 3 by the number of rows in the flexgrid.