Hello guys, its me again, i want to know how to initializate a lookup when i want to add a new record
Here is the register that I want to initialize:
And here is where i want to initializate the record in a new form:
I did it like this (nuBuilder Pro V.3)
This is the code: SELECT REPLACE('#nu_browse_filter#', 'contacto_', '')
How i can do it in this version?
Hope for your answers
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.
Can't initialize lookup in new register Topic is solved
-
- Posts: 11
- Joined: Thu Jul 07, 2022 5:38 pm
- Location: Guadalajara Jalisco Mexico
- Has thanked: 1 time
- Been thanked: 1 time
Can't initialize lookup in new register
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4297
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
-
- Posts: 11
- Joined: Thu Jul 07, 2022 5:38 pm
- Location: Guadalajara Jalisco Mexico
- Has thanked: 1 time
- Been thanked: 1 time
Re: Can't initialize lookup in new register
Thanks for your answer, i'm using this filter
In nuBuilder Pro I have the code value by default, but in this version I can't find where to initialize it
I have a detail master, and in detail I need to initialize a field with filter.In nuBuilder Pro I have the code value by default, but in this version I can't find where to initialize it
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4297
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
-
- nuBuilder Team
- Posts: 4297
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Can't initialize lookup in new register
In your form's Custom Code, save the Browse filter to a window varriable:
When the Edit form is loaded, retrieve it to populate the lookup:
When the Edit form is loaded, retrieve it to populate the lookup:
You do not have the required permissions to view the files attached to this post.
-
- Posts: 11
- Joined: Thu Jul 07, 2022 5:38 pm
- Location: Guadalajara Jalisco Mexico
- Has thanked: 1 time
- Been thanked: 1 time
Re: Can't initialize lookup in new register
It works!, Thanks Kev1n
Like a extra i found an issue
When i save the form, the save button enter in a loop
To solve it, is just add this code
Like a extra i found an issue
When i save the form, the save button enter in a loop
To solve it, is just add this code
You do not have the required permissions to view the files attached to this post.
Last edited by Gerry_26 on Fri Jul 22, 2022 6:47 pm, edited 2 times in total.
-
- nuBuilder Team
- Posts: 4297
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Can't initialize lookup in new register
Maybe just populate the lookup if it's a new record/ the lookup is empty.