I have a parent form with a child form. I just want to ensure that before parent is saved, user is always forced to add a child record. To get around this, I created a summary field of max of record ID from the child table to check if there indeed exists a child record and if not user is forced to add one before saving parent record. Then I added a form rule in the parent form so that when parent record is saved, it checks if the max of child ID record is not blank and abort the save.
Even after doing all this (and provided I got right), I constantly get a message even if I am trying to add child record by clicking add button that my max of record ID is blank and I need to add a child record. Is this the right approach?