Subject | Re: SUM a Column in TIB_Grid |
---|---|
Author | ehandbury |
Post date | 2002-03-12T01:47:08Z |
--- In IBObjects@y..., "ehandbury" <ehandbury@h...> wrote:
and summed-up the column. I set the DisableControls before doing this.
If this is not the most optimal way, or just plain wrong, please
let me know.
Eric.
> Hello,user
>
> I have a detail table which gets displayed in a TIB_Grid. The
> will insert some new records in the grid, and I need to SUM away
> particular column before the changes are commited. Whats the best
> of doing this?I figured it out. I looped through the underlying dsDetail->Dataset
and summed-up the column. I set the DisableControls before doing this.
If this is not the most optimal way, or just plain wrong, please
let me know.
Eric.