Welcome to the nuBuilder Forums!

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

Search field with Run hash cookies

Questions related to using nuBuilder Forte.
Post Reply
Janusz
nuBuilder Team
Posts: 506
Joined: Fri Dec 28, 2018 1:41 pm
Location: Krakow, Poland
Has thanked: 8 times
Been thanked: 18 times

Search field with Run hash cookies

Unread post by Janusz »

Hi,
On the edit form I have name field defined in which there is first and last name, ex.
con_name John Brown

and with (Run /Button)
I have (in Run tab) Filter defined as #con_name#
and it is equivallent to entering into the search field on browse form:
John Brown
is it possible to define the Run/Button/Filter code to be let say equivallent to:
" #con_name# "

I mean something what will finally generate followig:
"John Brown"
As the last one gives more accurate search result.
If you like nuBuilder, please leave a review on SourceForge
ARWEN
Posts: 78
Joined: Thu Nov 01, 2018 6:01 am

Re: Search field with Run hash cookies

Unread post by ARWEN »

The developer does not seem to be much present in the forums these days.
Therefore try this "hack": Create a separate column in your Browse that contains the string without white spaces. Use REPLACE to get rid of spaces and CONCAT to join multiple fields.
Also remove the white spaces in the hash cookie with js replace function.
Janusz
nuBuilder Team
Posts: 506
Joined: Fri Dec 28, 2018 1:41 pm
Location: Krakow, Poland
Has thanked: 8 times
Been thanked: 18 times

Re: Search field with Run hash cookies

Unread post by Janusz »

Hi,
Thanks for your reply.
After some more trials I foud that it is working with following notation:

\"#con_name#\"

placed directly in the Object/Run/Filter
If you like nuBuilder, please leave a review on SourceForge
kev1n
nuBuilder Team
Posts: 4307
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 448 times
Contact:

Re: Search field with Run hash cookies

Unread post by kev1n »

Thank you for sharing your findings!
Post Reply