I am using components inherited from TTable to implement validation, 
and consistency code such as - when sell_price_pre_tax changes, 
change sell_price_with_tax and markup etc...

We have just noticed the edit controls for those fields do not get 
updated.  Actually, they are one step out.  

Obviously the problem is that the Ttable derived component uses 
FieldByname to access the fields that it is updating.  And the 
edit controls are not getting notified of the changes.

How do I force the edit controls to get the data thats in the
TTables internal buffer ?  Ttable.refresh cancels the edit/insert. 
tdbedit.invalidate and tdbedit.update have no effect.


Rohit

======================================================================
CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
PH    (649) 489-2280 
FX    (649) 489-2290
email [EMAIL PROTECTED]  or  [EMAIL PROTECTED]
======================================================================

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to