Ok, so i figured it out, the append, as it creates and positions itself on the record says to the dataset of the detail table to filter by the newly created ID, which has no records. Sorry for not understanding how this worked. I'll let this question here in case it can be useful.