Welcome to the nuBuilder Forums!

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

Select Object loses the hash cookie #RECORD_ID# after nuRefreshSelectObject('objectID') Topic is solved

Questions related to using nuBuilder Forte.
Post Reply
gerese
Posts: 132
Joined: Sun Dec 16, 2018 6:13 pm
Location: România
Has thanked: 30 times
Been thanked: 4 times

Select Object loses the hash cookie #RECORD_ID# after nuRefreshSelectObject('objectID')

Unread post by gerese »

Hi,
I tried the following situation: at the first "Select", if I use the nuRefreshSelectObject('objectID') command in the developer console of the browser .... the "Select" which has a mySQL command behind it no longer displays anything.
What am I doing wrong?

Code: Select all

SELECT DISTINCT
text020 AS table2_id,
text020
FROM table2
WHERE table2_table1_id = '#RECORD_ID#'
error refreshselectobject.gif
09-29-2022_191850_nuBuilder_backup.sql.gzip
You do not have the required permissions to view the files attached to this post.
nuBuilderForte .... BIG Like !!!
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Select Object loses the hash cookie #RECORD_ID# after nuRefreshSelectObject('objectID')

Unread post by kev1n »

I think the sql needs to be altered to since #RECORD_ID# (upper case) will contain the procedure's name.

Code: Select all

SELECT DISTINCT
text020 AS table2_id,
text020
FROM table2
WHERE (table2_table1_id = '#RECORD_ID#' OR table2_table1_id = '#record_id#')
Read more about this topic:
viewtopic.php?p=24221
gerese
Posts: 132
Joined: Sun Dec 16, 2018 6:13 pm
Location: România
Has thanked: 30 times
Been thanked: 4 times

Re: Select Object loses the hash cookie #RECORD_ID# after nuRefreshSelectObject('objectID')

Unread post by gerese »

Thanks :thumb: , work great!
nuBuilderForte .... BIG Like !!!
Post Reply