Loop through and Manipulate MSHFlexGrid

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thesti
    New Member
    • Nov 2007
    • 144

    Loop through and Manipulate MSHFlexGrid

    hello,

    i have this MSHFlexGrid in my form and a commandButton, which when pressed, it will add new row to he MSHFlexGrid,

    the questions are:
    1. how can i manually specify the column header? there should be 3 columns and how to name each column?

    2. how can i loop through an MSHFlexGrid object. i need to see if the same row ID is being inserted. if so, i only need to update that row instead of inserting a new one. so it will be like this

    for i=0 to MSHFlexGrid.Row s - 1
    //how to cek value of col 1 here?
    loop

    i've been googling for this and can't seem to find my answer.


    Thank you.
  • Guido Geurs
    Recognized Expert Contributor
    • Oct 2009
    • 767

    #2
    dear,

    I hope this will help You (see attachment)


    br,
    Attached Files

    Comment

    • thesti
      New Member
      • Nov 2007
      • 144

      #3
      hi,

      thank you for your time giving me an example.

      Comment

      Working...