How do I set up an array to save the contents
of grid data into to a database fields.
Printable View
How do I set up an array to save the contents
of grid data into to a database fields.
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]