Guys,I have been chasing this most of the day and although some success I am really puzzled by what I have going on now.
I am using the automated listview tools, and as such have a parentBO, childBO and childformdialog . I have read many previous posts and removed my childautofilter that was causing some issues.
I am passing both my parent and child BO's through to the childform using translations that are configured on the childformdialog. However, in my childform I have overriden the onload event, as described in a another post, to set the parentbusinessobject of my childBO as for some reason it doesn't come over from the parentform.
If I add a new parent record, then go on to add a number of childrecords, save each child, then return to the parent and save the parent, my understanding is that the child records should recieve the parents ID upon the parent saving, is this correct? What I have happening is that the first child record I entered, does not get the parents key, but subsequent ones do.
If I add a childrecord to a parent that has already been saved, then again, the first one doesn't get the foreignkey, the second one does.
Like I say, chased this one most of the day just can't see what I am doing that's wrong.
thanks
Geoff.