Getting information back from MSFlexGrid cells

Hi,
Does MSFlexGrid displays read-only data?
Currently, i'm facing a problem. Affer putting some data(dragging from the listview) into one of the FlexGrid cells, am i allow to retrive the data from that FlexGrid cell?

On clicking on a cel, is it possible to retrieve the data, deleting the data from FlexGrid cell and put them back to the database?

If so, what is the MSFlexGrid mehtod to allow this function? Thanks.

From ALvin
[471 byte] By [Alvin Quek] at [2007-11-17 17:08:16]
# 1 Re: Getting information back from MSFlexGrid cells
Yes you can retrieve data from a flexgrid.

It depends on what u want to do by trapping data. If you want all the data in the grid to be added to database, then you can do it by a simple loop as follows

for i=0 to flexgrid.rows-1
for j=0 to flexgrid.cols-1
str=str & flexgrid.textmatrix(i,j)
next
insert this str into the database
next
s_bist at 2007-11-10 0:22:39 >