Subject Re: [IBO] Default values not defaulting (newbie)
Author Daniel Rail
At 10/04/2002 03:44 PM, you wrote:
>I have a table in which several fields have default
>values defined. In isql if I run the command:
> insert into views (RecNum) values (1);
>It creates a record correctly where the other fields that
>have default values defined are set.
>However in my C++ code when I do:
> Views->Insert();
> Views->FieldByName("RecNum")->AsInteger= 1;
>I get the error:
> EIB_DatasetError with message "SortFlag is a required field"
>Why isn't this working in my code?

Make sure the property CheckRequired is False.

Daniel Rail
Senior System Engineer
ACCRA Group Inc. (
ACCRA Med Software Inc. (