Subject Re: [IBO] TIBOTable and required fields
Author Helen Borrie
At 07:34 PM 01-03-01 +0000, you wrote:
>I have a field in my IB database that is required but is filled with a
>Trigger/generator in IB. When I try to commit a new row in my Delphi
>app I get an error message that "Ref_No" is a required field. How do
>I tell Delphi to leave it alone? (I am using TIBOTable) I tried
>setting Required to false in the Fields Editor and also in FieldDefs.
>Neither worked. Where should I make that change? (I found it in the
>SQL Editor with TIBOQuery but that option isn't available here)
>
>Thanks,
>
>Lin MacDonald

Double-click on the IBOTable component and right-click on the Persistent Fields display, select Add All Fields. Select the TField in question, set its Required property to False.

Cheers,
Helen

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