Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Questions related to using nuBuilder Forte.
nc07
Posts: 118 Joined: Tue Jun 04, 2019 4:05 am
Has thanked: 5 times
Been thanked: 22 times
Unread post
by nc07 » Fri Feb 25, 2022 8:09 am
Hi,
How can i display select 2 multiselect data. At the moment it displays in array format eg
.
i want it to display as 0,1 etc only. How can this be achieved?
kev1n
nuBuilder Team
Posts: 4565 Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 529 times
Contact:
Unread post
by kev1n » Fri Feb 25, 2022 8:20 am
Hi,
How many distinct values are there? Are they stored a list 0|something|1|something2 or retrieved by SQL from another table?
nc07
Posts: 118 Joined: Tue Jun 04, 2019 4:05 am
Has thanked: 5 times
Been thanked: 22 times
Unread post
by nc07 » Fri Feb 25, 2022 8:59 am
kev1n wrote: ↑ Fri Feb 25, 2022 8:20 am
Hi,
How many distinct values are there? Are they stored a list 0|something|1|something2 or retrieved by SQL from another table?
At the moment two values and its a stored list
kev1n
nuBuilder Team
Posts: 4565 Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 529 times
Contact:
Unread post
by kev1n » Fri Feb 25, 2022 9:14 am
If it's just 2 values, do a replace
E.g.
Code: Select all
REPLACE(REPLACE(your_column,'1','something'),'2','something else')
nc07
Posts: 118 Joined: Tue Jun 04, 2019 4:05 am
Has thanked: 5 times
Been thanked: 22 times
Unread post
by nc07 » Fri Feb 25, 2022 9:16 am
kev1n wrote: ↑ Fri Feb 25, 2022 9:14 am
If it's just 2 values, do a replace
E.g.
Code: Select all
REPLACE(REPLACE(your_column,'1','something'),'2','something else')
How is it achievable if there are more than 2 values
nc07
Posts: 118 Joined: Tue Jun 04, 2019 4:05 am
Has thanked: 5 times
Been thanked: 22 times
Unread post
by nc07 » Fri Feb 25, 2022 9:40 am
Thanks for your quick response, i will try your suggestions and let you know how it goes.
Thanks Kevin
nc07
Posts: 118 Joined: Tue Jun 04, 2019 4:05 am
Has thanked: 5 times
Been thanked: 22 times
Unread post
by nc07 » Mon Feb 28, 2022 5:37 am
Thanks, Kevin, Both the suggestions worked well. Best Regards.