HELP - General Ledger using dbGrid

I am trying to create a running total for a GL in a dbGrid.  I have
tried calculated fields to do this.  My problem is that the calculated
field fills the grid correctly...but when the record is moved, the
calculations get completely screwed up.  Has anyone had success doing
this?  Can anyone point me in the right direction ?

Thanks
ED