Results 1 to 2 of 2

Thread: matrix from flexgrid

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 1999
    Posts
    5

    Post

    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).]

  2. #2
    New Member
    Join Date
    Jun 1999
    Location
    kaysville, Ut, US
    Posts
    13

    Post

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width