Subject | Re: [IBO] Calculated fields and TIB_Grid redraw |
---|---|
Author | Andreas Pohl |
Post date | 2002-02-11T14:06:33Z |
What about calling
TIB_Statement.CalculateFields;
Mit freundlichem Gruss & Best Regards
Andreas Pohl
apohl@...
www.ibp-consult.com
TIB_Statement.CalculateFields;
Mit freundlichem Gruss & Best Regards
Andreas Pohl
apohl@...
www.ibp-consult.com
----- Original Message -----
From: "mircostange" <mirco@...>
To: <IBObjects@yahoogroups.com>
Sent: Monday, February 11, 2002 2:57 PM
Subject: [IBO] Calculated fields and TIB_Grid redraw
> Hi Everyone,
>
> I have a query with some calculated fields, where
> the calculation is done on the client (i.e. with
> the CalculateField event).
>
> My issue is that when some event happens (e.g. keypress)
> I would like to recalculate the fields and have
> a connected grid redraw its current row.
>
> As far as I got, I call
>
> queryOrders.InvalidateCalculatedFields;
> ib_grid1.InvalidateRow(aRow,false);
>
> but the result is not that the new calculated fields
> show up in the grid. However, when I move to the next
> row, the previously selected row is properly redrawn
> and has the new field contents in it.
>
> There is no difference if I call
>
> ib_grid1.InvalidateRow(aRow,TRUE);
>
> instead, so I am out of ideas here.
>
> Mirco
>
>
>
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info papers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>