There is a LAUNCH-form consisting of 5 sub-forms, on the basis of which a row for an external table is formed. For this, another sub-form (GRID type) is used.
Having collected data from 3 sub-forms, you need to write them into an external database table. I use nuRunPHPHiddenWhithParams, but after struggling with base64encode - base64decode I thought that perhaps there is a way to write data to an external table from js. But the problem is that all the source tables and the destination do not have a common foreign key.
I tried changing LAUNCH-form to BROWSE-EDIT...The save button appears when changing the GRID-form, but nothing is saved.
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.
Populate external table from LAUNCH-form
-
- Posts: 366
- Joined: Sat Apr 11, 2020 12:03 am
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
Populate external table from LAUNCH-form
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Populate external table from LAUNCH-form
Try PHP BS and use nuSubformObject() to retrieve the subform data.
-
- Posts: 366
- Joined: Sat Apr 11, 2020 12:03 am
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
Re: Populate external table from LAUNCH-form
I got the correct subform data except nuID which = -1. Shouldn't it be generated automatically? Maybe I need to generate it myself?