Subject Re: [IBO] CancelUpdates
Author hans@hoogstraat.ca
Unfortunately yes, that is why I inserted that line
of code. Now no problem :)

=====================================

Jason Wharton wrote:
>
> Why does calling CancelUpdates result in a call to this procedure?
>
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com
>
> ----- Original Message -----
> From: <hans@...>
> To: <IBObjects@yahoogroups.com>
> Sent: Thursday, March 07, 2002 11:28 AM
> Subject: [IBO] CancelUpdates
>
> > Hello Jason,
> >
> > I like to suggest to add the shown line to prevent the
> > SNotEditing error on a TIBO.CancelUpdates.
> >
> > Best Regards
> > Hans
> > ===================
> >
> >
> > procedure TIBODataset.InternalSetFieldData( Field: TField; Buffer:
> > Pointer );
> > var
> > ARecBuf: pointer;
> > ACalcBuf: pointer;
> > ANode: PIB_Node;
> > tmpData: pointer;
> > tmpInd: ^smallint;
> > tmpLen: integer;
> > NewTimeStamp: TTimeStamp;
> > tmpStr: string;
> > begin
> > >
> > > if State = dsInactive then Exit;
> > >
> > if not (State in dsWriteModes) then DatabaseError(SNotEditing);
> > if (State = dsSetKey) then
>
>
> ___________________________________________________________________________
> 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/