Subject | Re: [IBO] CancelUpdates |
---|---|
Author | Jason Wharton |
Post date | 2002-03-07T21:38:31Z |
Why does calling CancelUpdates result in a call to this procedure?
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
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