Subject | Re: [IBO] Problem with Append in a IBOTable |
---|---|
Author | Helen Borrie |
Post date | 2001-08-28T13:01:16Z |
At 12:34 PM 28-08-01 +0000, you wrote:
iboTable1.InternalDataset.RefreshAction := raKeepRowNum;
Helen
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________
>HiTry including this:
>I have a big problem with Append in a IBOTable
>I use IBO 3.6 Dg (demo) because I would like convert my application
>from DBF to IBO.
>I use IBOTable with PessimisticLock = TRUE and I have this problem:
>
> IboTable1.PessimisticLock := TRUE;
iboTable1.InternalDataset.RefreshAction := raKeepRowNum;
> IboTable1.Open;Cheers,
> IboTable1.IndexName := 'COD';
> IboTable1.Append;
> IboTable1.FieldByName('COD').AsString := '100';
> IboTable1.Post;
> ShowMessage(IboTable1.FieldByName('COD').AsString) --> 100
> IboTable1.Refresh;
> ShowMessage(IboTable1.FieldByName('COD').AsString) --> 1
Helen
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________