Subject Re: [IBO] Problem with Append in a IBOTable
Author sassicaia70@hotmail.com
--- In IBObjects@y..., Helen Borrie <helebor@d...> wrote:
> 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. what you mean ??

>
> >and I have this problem:
> >
> >Source
> >

IboTable1.PessimisticLock := TRUE;

For me is neccessary!!!!


> > 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" ?
YES!!!

>
Have you set KeyLinks for the table?
How?? Post me an example , please

>
Have you set GeneratorLinks for the table?
How?? Post me an example , please

>
How can you tell that the trigger is not firing?
what you mean ??

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