Thanks, maybe you should mention how to connect the parent with the child. Maybe I'm doing it the wrong way because Infopath says "Binding a non-repeating control to a repeating field or group is not supported in web browser forms". Still it seems to work if I publish the form anyhow.
I'm also wondering how to get rit of the last line ...