Subject | Appending & Required Fields |
---|---|
Author | Ed Dressel |
Post date | 2003-08-20T14:53:19Z |
I have a pretty simple table with an ID and a name. In the BI trigger I
assign a value to the ID from the generator. But in my source code I am
just trying to append a record:
ibqPlans.Append;
ibqPlans.FieldByName('PlanName').AsString := 'Test';
ibqPlans.Post;
I get an exception back:
---------------------------
Project1
---------------------------
PLAN_ID is a required field.
---------------------------
OK
---------------------------
I am using a TIB_Query for the assignment. Why is it wanting me to
assign the PLAN_ID value?
Thanks
Thanks
Ed Dressel
[Non-text portions of this message have been removed]
assign a value to the ID from the generator. But in my source code I am
just trying to append a record:
ibqPlans.Append;
ibqPlans.FieldByName('PlanName').AsString := 'Test';
ibqPlans.Post;
I get an exception back:
---------------------------
Project1
---------------------------
PLAN_ID is a required field.
---------------------------
OK
---------------------------
I am using a TIB_Query for the assignment. Why is it wanting me to
assign the PLAN_ID value?
Thanks
Thanks
Ed Dressel
[Non-text portions of this message have been removed]