How to create an editable msHflexgrid and what has been edited is update to the database...anyone has done that before?
Printable View
How to create an editable msHflexgrid and what has been edited is update to the database...anyone has done that before?
U may use another control like the (bound) datagrid control that supports that.
Whith MSHFlexGrid it is a complex thing. U need to do everything urself. Like Place a textbox, move the textbox around so that it looks like u r editing the cell etc., then update the value to database using query or recordset.
MartinLiss has some code that lets you edit the cell itself, but I like using a floating textbox, which I learned from szlammy. Look for flexgrid and szlammy for examples.
but i mean MSHFlexgrid..not MSFlexgrid...Quote:
Originally Posted by dglienna
Oh. Sorry about that. You would have to float a textbox over the cell that you want to change, and then place it in a record set to update it.
EDIT: Glad somebody like it. :wave:
DOUBLE-EDIT: I see you saw the other thread. ;(