Subject Re: [IBO] Inserting to a detail record
Author Helen Borrie
At 12:19 PM 25/11/2009, you wrote:
>This should be simple... (FB 1.5 Dialect 3)
>
>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?


One or more of:

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