Results 1 to 2 of 2

Thread: FlexGrid

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    Sudbury, Ontario ,Canada
    Posts
    3

    Post

    How do I set up an array to save the contents
    of grid data into to a database fields.

  2. #2
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177

    Post

    Why do you want to setup an Array?
    The FlexGrid is a kind of GUI Array, so just use it directly, you can get the Values from the Grid in an Array Fashion using the TextMatrix(Row, Col) Method.

    sValue = MSFlexGrid1.TextMatrix(0, 0)

    You should note that all values returned from the Grid are Strings, so in some instances you may need to convert them to other Data types before storing them in your Database.

    ------------------
    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]


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