Subject Re: [IBO] Master-Detail Examples
Author Helen Borrie
At 10:21 AM 15/08/2004 +1000, you and I wrote:
> >a second new team member - at this stage the first new team member
> >attempts to automatically post - this results in a constraint error
> >
> >'Violation of Foreign Key constraint INTEG-41 on table Employee-
> >Project' and the post fails.
>
>The FK constraint expects a valid PROJ_ID and a valid EMP_NO.

And you found a bug in my demo...the timing of picking up the key from the
stringlist when selecting from the combobox is wrong, so adding multiple
members from the initial insert is broken. Just post the first member and
then use update to add more members.

Screen shots here:
http://groups.yahoo.com/group/IBObjects/files/TIBO_Master_Detail-pics.zip

I'm gone for the rest of the day.

Helen