Welcome to the nuBuilder Forums!

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

Modify a record from a lookup field Topic is solved

Questions related to using nuBuilder Forte.
Post Reply
yvesf
Posts: 315
Joined: Sun Mar 14, 2021 8:48 am
Location: Geneva
Has thanked: 87 times
Been thanked: 11 times

Modify a record from a lookup field

Unread post by yvesf »

Hello,


I am in a lookup field and I would like to modify the linked record.
--> I cannot do that from the lookup field.
Scenario :
I have a linked record in which I have to change it smthg.
1-I hit the manifying glass to open the related record.
From here, I cannot neither edit it to modify nor hit on a modify action button to make my modifications.
Any idea about how to improve that ?
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Modify a record from a lookup field

Unread post by kev1n »

What I usually do is add a new button next to the magnify glass.
This additional button can serve as a "Modify" or "Edit" action, allowing you to make the desired modifications to the linked record more conveniently.
yvesf
Posts: 315
Joined: Sun Mar 14, 2021 8:48 am
Location: Geneva
Has thanked: 87 times
Been thanked: 11 times

Re: Modify a record from a lookup field

Unread post by yvesf »

Thx Kev1n,

What is the code behind the button ?
Thx
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Modify a record from a lookup field

Unread post by kev1n »

Code: Select all

nuPopup('form_id_to_open',object_id_of_your_lookup_here.value,'');
form_id_to_open e.g. 62f133224725631
yvesf
Posts: 315
Joined: Sun Mar 14, 2021 8:48 am
Location: Geneva
Has thanked: 87 times
Been thanked: 11 times

Re: Modify a record from a lookup field

Unread post by yvesf »

Perfect. Thx Kev1n,

Yves
Post Reply