On my form I have a Grid that displays the following information:
bdate depamt deprttl
09/01/03 25.00 25.00
09/02/03 25.00 50.00
09/02/03 10.00 60.00
Now I need to update a depamt
bdate depamt deprttl
09/01/03 25.00 25.00
09/02/03 25.00 50.00
09/02/03 20.00
Where do I place the SUM code to update the deprttl column? I have tried it in various places, but it refuses to update.
This is the code:
SUM blkbook.depamt TO m.adepamt
ThisForm.grid1.Column3.text1.value = ThisForm.grid1.Column2.text1.value + m.adepamt
THANKS!
CJ
bdate depamt deprttl
09/01/03 25.00 25.00
09/02/03 25.00 50.00
09/02/03 10.00 60.00
Now I need to update a depamt
bdate depamt deprttl
09/01/03 25.00 25.00
09/02/03 25.00 50.00
09/02/03 20.00
Where do I place the SUM code to update the deprttl column? I have tried it in various places, but it refuses to update.
This is the code:
SUM blkbook.depamt TO m.adepamt
ThisForm.grid1.Column3.text1.value = ThisForm.grid1.Column2.text1.value + m.adepamt
THANKS!
CJ