NAV 2016 C/AL code - How to get text value of option field on the request page?

stras77stras77 Member Posts: 6
edited 2015-12-11 in NAV Three Tier
I have an options field on the request page. When I call the value in C/AL code i get the number of the option field. Is it possible to access the text value of this option field?

Options
0 > Hello
1 > there
2 > world

I choose "world" in the options field

Variable := format(Options,0,0) + ' is selected';

Variable is now:
"2 is selected"

I want it to be:
"world is selected"

Is this possible?

Answers

Sign In or Register to comment.