Thats what it is. I do a disablecontrols while I am modifying a few
of the fields with FieldByName, under the impression that when I do
EnableCOntrols, it will refresh the controls. Obviously not.
Thanks.
On
1 Jun 99 at 12:24, Myles Penlington wrote:
> Thats odd - its normally automatic=20
>
> If you assign a value to a field, it ends upcalling the =
> TDataset.SetFieldData() ,
> which will normally do =20
> if not (State in [dsCalcFields, dsFilter, dsNewValue]) then DataEvent( =
> deFieldChange, Longint(Field));
>
> So if you have fields listening for changes via their datasources, their =
> values will automatically get updated -(unless you have disabled the =
> datasources or done a TDataset.DisableControls.)
>
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