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!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
SubForm is a new entry.
-
- nuBuilder Team
- Posts: 4300
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 445 times
- Contact:
-
- Posts: 366
- 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: 4300
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 445 times
- Contact:
Re: SubForm is a new entry.
Calling a PHP procedure or executing the code in AS would be pretty much the same.