Ask Your Question

allow additions with subform

asked 2019-01-02 17:18:05 +0200

Lovro gravatar image

updated 2020-07-28 21:50:45 +0200

Alex Kemp gravatar image

I created a form which has "Allow new data" set to true, to only allow new records to be added. The form has three subforms. Adding new data to the "main part" of the form works fine, until I enter one of the subforms. Then the main form "locks" for further editing, only entering data in the subforms is possible.

I believe it is caused by creation of the record in the database for main part of the form, which is needed to bind the primary keys of the subforms in the database. This probably sets the flag that record on the form is not anymore "new".

I believe the user should still be able to edit main part of the form after adding records in related subforms. Is there a way to achieve this (I am proficient in LO Basic)?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2019-01-02 17:26:07 +0200

Lovro gravatar image

I found the answer. I also had "Allow changes" and "Allow deletions" flags on form set to "No", which caused such behaviour. Changing the flags on these settings solved the problem.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-01-02 17:18:05 +0200

Seen: 81 times

Last updated: Jan 02 '19