Subject Re: SUM a Column in TIB_Grid
Author ehandbury
--- In IBObjects@y..., "ehandbury" <ehandbury@h...> wrote:
> Hello,
> 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 a
> 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.