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!
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.
Populate external table from LAUNCH-form
-
- Posts: 377
- 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: 4565
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 529 times
- Contact:
Re: Populate external table from LAUNCH-form
Try PHP BS and use nuSubformObject() to retrieve the subform data.
-
- Posts: 377
- 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?