Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Embedded form/main form relationship

Questions related to using nuBuilder Forte.
Post Reply
christofng
Posts: 6
Joined: Thu May 17, 2018 1:50 am

Embedded form/main form relationship

Unread post by christofng »

Hi, first of all, this is a very interesting software and thanks for all the help.

I have a question regarded an embedded browse and edit form. The embedded form is related to the main form's primary key. And when I browse or edit, the items in the embedded form are selected correctly (i.e. only the ones matching the main form's primary key).

However, when I try to add a new item in the embedded form (see the "Product" field in the attached image), the related item is not automatically populated. Is there any way to automatically populate the field that is linked to the main form when adding a new item? Thanks much.
You do not have the required permissions to view the files attached to this post.
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: Embedded form/main form relationship

Unread post by toms »

the related item is not automatically populated.
Is that field on the main form?

There's a nuSetFormValue() function:
Updates an Object on an Edit Form After Browse after a Lookup value is chosen.
https://wiki.nubuilder.cloud/ ... tFormValue
Post Reply