Page 2 of 4
Re: manipulation between main form and iframe
Posted: Fri Feb 14, 2020 11:14 pm
by admin
joecocs,
I have added two functions to get access to Objects in an Iframe in the latest download.
nuGetIframeValue()
https://wiki.nubuilder.cloud/ ... frameValue
and nuSetIframeValue()
https://wiki.nubuilder.cloud/ ... frameValue
Steven
Re: manipulation between main form and iframe
Posted: Mon Feb 17, 2020 10:39 am
by joecocs
Hello,
Thanks for your addons.
I tried to use the two functions that you added on Friday.
I updated the database by importing the nubuilder4.sql file, then I wanted to use the functions.
unfortunately I have the impression that nothing happens where I did not understand how to use them.
I sent an email with my base on the email that you sent me but I received an email which tells me that you did not receive it for refused connections.
I think I will have to abandon my project with nuBuilder and find another solution to do my follow-ups.
I will continue to learn JScript to try to progress but here I am blocking too quickly to be convinced.
thank you for all the help you gave me.
Re: manipulation between main form and iframe
Posted: Mon Feb 17, 2020 10:57 am
by kev1n
Use this email address: (removed)
Re: manipulation between main form and iframe
Posted: Mon Feb 17, 2020 12:51 pm
by joecocs
my mail is gone
Re: manipulation between main form and iframe
Posted: Mon Feb 17, 2020 12:55 pm
by kev1n
ok, I received it. Will take a look at it tonight.
Re: manipulation between main form and iframe
Posted: Wed Feb 19, 2020 5:11 pm
by joecocs
Hi Kev1n,
have you had time to look at a solution to retrieve the value of a field from my Run :: iframe to a field in the main form ?
Re: manipulation between main form and iframe
Posted: Wed Feb 19, 2020 5:33 pm
by kev1n
Hi,
Just another idea. How about setting a hash cookie and use that in your browse SQL?
Settings a hash cookie
Code: Select all
nuSetProperty('a_cookie','a_value');
// replace a_value with a field value (like primary key)
https://wiki.nubuilder.cloud/ ... etProperty
and in SQL where clause
Code: Select all
WHERE your_field_id = '#a_cookie#'
Re: manipulation between main form and iframe
Posted: Wed Feb 19, 2020 6:45 pm
by joecocs
I have already tried,
all the solutions that you indicate works if all the objects are in the same form.
I suggest the following test :
You have 3 tables - customers, projects, stakeholders
A main form with 3 tabs :
- in the first tab the fields of the customer table
in the second tab a Run :: iframe with the fields of the projects table
in the third tab a Run :: iframe with the fields of the stakeholders table
With
the Run :: iframe of the second tab must be filtered with the customer registration in edition.
the Run :: iframe of the third tab must be filtered with the project registration in edition.
when i write it sounds simple but i've been looking for 10 days ...
I want you to help me get there

Re: manipulation between main form and iframe
Posted: Thu Feb 20, 2020 10:15 am
by joecocs
Hi,
finally I did differently and it works well.
just a few layout and color elements to manage ...
Thank you for the help
Re: manipulation between main form and iframe
Posted: Thu Feb 20, 2020 10:17 am
by kev1n
Perhaps you would like to explain briefly what you have changed?