There are several BrowseForms on the main form, from which an array of values is typed to fill the event log (:: subform).
Since this is a new record, it does not have a foreign key that is required for the new record.
How do I add a new entry to a subform - not PHP?
Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
SubForm is a new entry.
-
- nuBuilder Team
- Posts: 4565
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 529 times
- Contact:
-
- Posts: 377
- Joined: Sat Apr 11, 2020 12:03 am
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
Re: SubForm is a new entry.
I can write the necessary data to the database through the PHP procedure and update the form, but I was looking for a more elegant way. Can you describe in more detail how to do this in PHP AS?
-
- nuBuilder Team
- Posts: 4565
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 529 times
- Contact:
Re: SubForm is a new entry.
Calling a PHP procedure or executing the code in AS would be pretty much the same.