Master Detail Save Problem [message #136377] |
Wed, 07 September 2005 16:13 |
mlodymaytek
Messages: 9 Registered: June 2005 Location: poland
|
Junior Member |
|
|
I have master detail form.
I use standart relationship
and when i create new record in master and detail and i want to save it i have error FRM 40508
When i have master record save and in next step add the detail record every thing is ok...
|
|
|
Re: Master Detail Save Problem [message #136399 is a reply to message #136377] |
Wed, 07 September 2005 21:40 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
Next time please give the text of the message as well as its number, it saves us time.
What is the 'extra' part of the 'unable to insert' message.
Where are you creating your primary key? In a trigger which does not facilitate the populating of the entry in the detail record. Put code into the Pre-Insert trigger in the form to populate the primary key, then the 'Copy from' in the detail block has something to copy.
David
[Updated on: Sun, 11 September 2005 20:59] Report message to a moderator
|
|
|
|
|