Subject | Re: [IBO] Problem with Append in a IBOTable |
---|---|
Author | Helen Borrie |
Post date | 2001-08-30T11:09:33Z |
At 10:39 AM 30-08-01 +0000, you wrote:
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
_______________________________________________________
>HiPessimisticLockING does not apply to Appends.
>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:Questions:
>
>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;
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
_______________________________________________________