Forums / Setup & design / Selection datatype
Daniel Guerrier
Monday 19 September 2005 11:48:51 am
I have a content class with a attribute of type selection. I can see the value of the selected using attribute view gui. What I need to do is to get the actual value that was selected in order to compare the value in a forloop.
How do I get the actual value from a selection datatype?
An even better question would be, where can I look to find out the answer to this question for any datatype?
Thanks,Danny
Mazen Alsibai
Wednesday 21 September 2005 1:57:15 am
Hi: the value thar you get from the selectin type is the order of the elements, not the elements itself,so if you want to compare, you have to do it by using the order of the wanted item,not the value of it
Wednesday 21 September 2005 9:16:55 am
Thanks for the response.Can you give me an example?
Thank you again.