Topic: Nested forms bug (?)
Hello.
I have a db with workers table, their competed works cards table(records liinked to workers).
I have a table -based form to view all works cards records, with + and - button to add and delete cards. + opens a form to edit new card with some blank field to fill AND a dropdown to select a worker to assign to the card. Near the dropdown ai added a + button that opens the worer details edit form to add a new worker to the system without closing the card edit form.
So, i go Cards Form -> + -> Card Edit Form -> + -> Worker Edit Form.
All forms remain opened.
The problem: when i click + on Card Edit Form , at the moment Worker Edit Form opens the system (MVDB) automatically clicks Save button on Card Edit Form creating an empty record in the Cards table. This is unexpected and not required as adding a worker to DB doesnt require linked Card...
Please help me with it. The only way i found to workaround this was to disable Save button action (setting to no action anually in designed). But i cant set it back to Save Data action from code...
Thanks in advance!