Welcome to the nuBuilder Forums!

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

Lookup Control / pass variable Topic is solved

Questions related to using nuBuilder Forte.
Post Reply
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Lookup Control / pass variable

Unread post by toms »

Hi,

In nuBuilderPro, I set a hash variable in the form's js section:

Code: Select all

nuSetHash('empFlagActive','1');
lookup.PNG
The lookup form's sql uses this variable in the where clause to show only the active employees:

Code: Select all

SELECT * FROM emp_table WHERE emp_active = '#empFlagActive#'
How to do this with nuBuilderForte? nuSetProperty() doesn't seem to be the right function to use.
You do not have the required permissions to view the files attached to this post.
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Lookup Control / pass variable

Unread post by admin »

toms,

You'll need the latest from Github but

You can use nuSetProperty()

http://wiki.nubuilder.net/nubuilderfort ... etProperty

Steven
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: Lookup Control / pass variable

Unread post by toms »

Thanks Steven, it works now!
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Lookup Control / pass variable

Unread post by admin »

.
Post Reply