Subject | Re: [IBO] Where is the diference |
---|---|
Author | Helen Borrie |
Post date | 2001-01-04T04:01:47Z |
At 11:32 PM 03-01-01 -0400, you wrote:
populate the ID field when the database receives NULL for it. Could you
look at the table using IB_WISQL's Browser, and inspect its Triggers page?
If delphi is not giving you an exception on an ID field that you know is
NOT NULL, then have a look at the ID column's REQUIRED attribute in the
Fields Editor. If it is checked off, then your app is allowing the trigger
to do the work.
Helen
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________
>When I am at delphi and run the app and try post a record with no IDIt looks as though your database table has a BEFORE INSERT trigger to
>I got the exception, but when I execute from Windows Explorer or from a
>shortcut any
>thing happen.
populate the ID field when the database receives NULL for it. Could you
look at the table using IB_WISQL's Browser, and inspect its Triggers page?
If delphi is not giving you an exception on an ID field that you know is
NOT NULL, then have a look at the ID column's REQUIRED attribute in the
Fields Editor. If it is checked off, then your app is allowing the trigger
to do the work.
Helen
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________