Hi all,
I am currently trying to fix some code for a friend of mine and the problem is that the DBAdvGrid doesn't save when a field in one of the rows is changed. This causes some confusion as if you check one of the tick boxes and then click in another area on the screen then the box becomes unchecked again. The only way for it to stay checked is if you click another row afterwards.
I have tried setting the onKeyDown event to Edit the data and then the onKeyUp event to Post the data but if you type fast then a 'table not in edit or insert mode' error pops up. I am unsure of how to save the memberNames table when using a DBAdvGrid or even if that is what I should be trying to save.
Can anyone shed any light on how I can do this?
Regards
BebopSong
I am currently trying to fix some code for a friend of mine and the problem is that the DBAdvGrid doesn't save when a field in one of the rows is changed. This causes some confusion as if you check one of the tick boxes and then click in another area on the screen then the box becomes unchecked again. The only way for it to stay checked is if you click another row afterwards.
I have tried setting the onKeyDown event to Edit the data and then the onKeyUp event to Post the data but if you type fast then a 'table not in edit or insert mode' error pops up. I am unsure of how to save the memberNames table when using a DBAdvGrid or even if that is what I should be trying to save.
Can anyone shed any light on how I can do this?
Regards
BebopSong