Hi folks,
Is there a way to get the text of a specific value in the value set of a variable?
For example, if the variable has 7 entries in the valueset, I want to get the label of the (i)th entry.
Or I want to get the label of the label which is attached with the code 3.
Best
Ari
Access the valueset labels as an array
-
AriSilva
- Posts: 625
- Joined: July 22nd, 2016, 3:55 pm
-
josh
- Posts: 2403
- Joined: May 5th, 2014, 12:49 pm
- Location: Washington DC
Re: Access the valueset labels as an array
You can use the getlabel() function.
-
AriSilva
- Posts: 625
- Joined: July 22nd, 2016, 3:55 pm
Re: Access the valueset labels as an array
Thanks, my mistake, I thought that getlabel was used only to get the variable label.
Best
Ari
Best
Ari
Best
Ari
Ari