delete record doesn't always work

delete record doesn't always work

Hi Zoho,

I have a form with a subofrm in it.

When I delete a row from the subform and submit the form, the row is deleted from the main form entry but stays in the subform report.

To fix this, I have added a "delete record" script on "on delete row" for the subform under the main form, so on delete row it deletes it from the subform report too.

But - this only works is some of the cases. If I delete a row, and than add another row or change data anywhere in the subform before submitting the main form entry edit - it deletes the entry from the subform and everything is ok.
- BUT - if deleting the row from the subform is the last thing I do before submitting, for some reason the script is not working, and the entry is not deleted from the suboform.


Can you fix this please?

Thanks!

Ravid