Subject Re: [IBO] Problem with Append in a IBOTable
Author Helen Borrie
At 10:39 AM 30-08-01 +0000, you wrote:
>Hi
>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

PessimisticLockING does not apply to Appends.

>and I have this problem:
>
>Source
>
> IboTable1.PessimisticLock := TRUE; /// REMOVE
> IboTable1.Open;
> IboTable1.IndexName := 'COD'; /// IndexName needs to be set while the dataset is closed.
> IboTable1.Append;
> IboTable1.FieldByName('COD').AsString := '100';
> IboTable1.Post;
Questions:

Are you getting any error messages, such as "ID is a required field" ?

Have you set KeyLinks for the table?

Have you set GeneratorLinks for the table?

How can you tell that the trigger is not firing?

Helen

All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________