Subject Default values not defaulting (newbie)
Author bhatakeyama
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->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?