Results 1 to 4 of 4

Thread: going crazy!!!!!!

  1. #1

    Thread Starter
    Hyperactive Member vbuser1976's Avatar
    Join Date
    Sep 2000
    Location
    Yonkers, NY
    Posts
    404

    Smile

    Hi!

    I have a hiearchial (can't spell :-) ) flexgrid which is populated with data. I want the user to highlight the row of data that they want, and when they click a 'Open' button, another form opens up and show all pertinent data. I know how to do the later part, but I do not know how to access the flexgrid to get the highlighted info. I already created the flexgrid and it is populating okay, just need the code for picking a record and opening it. In addition, I only need to get one field in the row. Any suggestions?

    Thanks in advance.
    -vbuser1976
    VB6 Enterprise SP6
    SQL 7.0 SP2
    VBScript, HTML, Javascript, C++, a little UNIX

  2. #2
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Using MSFLEXGRID

    You an use doubleclick.

    BYTER = frmWeeklyPayroll.MSFlexGrid1.RowSel


    MSFlexGrid1.TextMatrix(BYTER, 0) 'the first column and row selected.
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

  3. #3

    Thread Starter
    Hyperactive Member vbuser1976's Avatar
    Join Date
    Sep 2000
    Location
    Yonkers, NY
    Posts
    404

    Smile stupid questions...

    Thanks. My question is this:

    1. BYTER, do I have to declare it?
    2. Is MSHFlexGrid1.TextMAtrix(BYTER,0) the same as MSHFlexGrid1.TextMAtrix(row,column)?
    -vbuser1976
    VB6 Enterprise SP6
    SQL 7.0 SP2
    VBScript, HTML, Javascript, C++, a little UNIX

  4. #4

    Thread Starter
    Hyperactive Member vbuser1976's Avatar
    Join Date
    Sep 2000
    Location
    Yonkers, NY
    Posts
    404

    Talking Never Mind!

    Never mind, I figured it out. Thanks for your help
    -vbuser1976
    VB6 Enterprise SP6
    SQL 7.0 SP2
    VBScript, HTML, Javascript, C++, a little UNIX

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