Welcome to the nuBuilder Forums!

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

How does the Run > Filter option work?

Questions related to using nuBuilder Forte.
Post Reply
sputs
Posts: 27
Joined: Sun Feb 07, 2021 8:07 pm

How does the Run > Filter option work?

Unread post by sputs »

When defining a button to run a pop-up form, how does the Filter work?

I'm trying to do: SELECT * FROM posts WHERE category = 1 AND disease = 1
kev1n
nuBuilder Team
Posts: 4305
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: How does the Run > Filter option work?

Unread post by kev1n »

Do you want to pass the 1 as variable ?

Use

Code: Select all

nuSetProperty('where_category', '1');
To set a Hash Cookie before opening the popup.

In the SQL, write

Code: Select all

SELECT * FROM posts WHERE category = #where_category# 
sputs
Posts: 27
Joined: Sun Feb 07, 2021 8:07 pm

Re: How does the Run > Filter option work?

Unread post by sputs »

Hi Kevin,

Brilliant! That was easy.
Spent 3 hours searching though. :)
Post Reply