Subject | Re: [IBO] Default values not defaulting (newbie) |
---|---|
Author | Daniel Rail |
Post date | 2002-04-10T19:19Z |
At 10/04/2002 03:44 PM, you wrote:
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.accramed.ca)
>I have a table in which several fields have defaultMake sure the property CheckRequired is False.
>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?
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.accramed.ca)