Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums 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 »
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: 4297
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 445 times
-
Contact:
Unread post
by kev1n »
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 »
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: 4297
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 445 times
-
Contact:
Unread post
by kev1n »
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 »
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 »
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 »
Thanks, Kevin, Both the suggestions worked well. Best Regards.