The manual says to never use option two ‘Allow deletion of parent records with related record’ in combination with ‘Delete child records’.
We have numerous relations where A is to B, A is to C, A is to D (three child tables to the parent A). The delete always fails with ‘noParentDeleteWithRelatedRecords’ if we check ‘Delete child records’. We have flipped the checkboxes so we ‘Allow deletion of parent records with related record’ and DO NOT check the third option. When we attempt to delete we now get ‘ORA: error, FARC_FA_FK violated, child record found’. Can’t win for nothing on these two options.
But, if we check both options (which I know we are not supposed to do!), Servoy deletes the child records from the three tables and the parent record which is what we want to do.
Question: Is the manual wrong? Is this a bug that needs to be reported? We are hesistant to go against what the manual is telling us NOT to do. Kind of confused!
Gary