Subject | Re: [IBO] generator isn't used |
---|---|
Author | Nando Dessena |
Post date | 2003-09-17T15:16:36Z |
Gediminas,
G> For example have placed ib_query and assign values to fields by:
ib_q1->>FieldByName( "Name" )->AsString = "I";
ib_q1->>FieldByName( "Age" )->AsInteger = 20;
G> and set ib_q1 GeneratorLinks to "Person_ID"="Gen_ID", but when posting
(ib_q1->>Post()) generator isn't used as always first person ID is used
G> (trigger isn't fired as well). Why this happen?
You should use the generator's name. Is your generator named "Gen_ID"?
Ciao
--
Nando mailto:nandod@...
G> For example have placed ib_query and assign values to fields by:
ib_q1->>FieldByName( "Name" )->AsString = "I";
ib_q1->>FieldByName( "Age" )->AsInteger = 20;
G> and set ib_q1 GeneratorLinks to "Person_ID"="Gen_ID", but when posting
(ib_q1->>Post()) generator isn't used as always first person ID is used
G> (trigger isn't fired as well). Why this happen?
You should use the generator's name. Is your generator named "Gen_ID"?
Ciao
--
Nando mailto:nandod@...