smartbid
Jan 6th, 2000, 12:11 AM
How do I set up an array to save the contents
of grid data into to a database fields.
Aaron Young
Jan 6th, 2000, 01:47 AM
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
aarony@redwingsoftware.com
ajyoung@pressenter.com