Subject | Re: [IBO] TIBOQuery Insert |
---|---|
Author | Nando Dessena |
Post date | 2004-01-21T19:03:08Z |
Ross,
R> All calls seem to work fine when now using the TIBOQuery component except
R> the Navigation bar's insert event for the TIBOQuery. The form clears OK and
R> all appears fine until pressing the Save button when an error is fired
R> saying the primary key for the record must have a value. There is a trigger
R> and generator for the related table but it appears this is not invoked when
R> the navigation bar's insert event is called?? Thanks .
This is quote a FAQ. Short answer: don't use a trigger to set the PK
value, use GeneratorLinks instead.
Ciao
--
Nando mailto:nandod@...
R> All calls seem to work fine when now using the TIBOQuery component except
R> the Navigation bar's insert event for the TIBOQuery. The form clears OK and
R> all appears fine until pressing the Save button when an error is fired
R> saying the primary key for the record must have a value. There is a trigger
R> and generator for the related table but it appears this is not invoked when
R> the navigation bar's insert event is called?? Thanks .
This is quote a FAQ. Short answer: don't use a trigger to set the PK
value, use GeneratorLinks instead.
Ciao
--
Nando mailto:nandod@...