Subject | Re: [IBO] Inserting to a detail record |
---|---|
Author | Helen Borrie |
Post date | 2009-11-25T03:11:29Z |
At 12:19 PM 25/11/2009, you wrote:
1. Missing or wrong MasterLinks
2. Missing or wrong GeneratorLinks
3. Before Insert triggers that don't take into account that
IBO fetches the new generated key value via GeneratorLinks.
Helen
>This should be simple... (FB 1.5 Dialect 3)One or more of:
>
>I am trying to add a master and detail record in the same transaction, but when I insert the detail record, I get a FK exception indicating the detail ID is not legal. But I should be able to do that, right?
>
>The details are below, but what am I doing wrong?
1. Missing or wrong MasterLinks
2. Missing or wrong GeneratorLinks
3. Before Insert triggers that don't take into account that
IBO fetches the new generated key value via GeneratorLinks.
Helen