TEST : How to access dropdown fields properties - their IDs and LABELs

This little demo shows how to access an ID and a LABEL from a dropdown field. See more about accessing field properties here: Accessing field values and properties

So, a simple dropdown, with choices:

id=label
K800=Hotels
K800=Hotels general
K810=Project Sun
K710=Template

 

List of stored values (showing dropdown field value in default mode)

Hotels general

Project Sun

 

Table with stored values and separate ID and label

So, we are using "dd.id" and "dd.label" to access each property of the dropdown field individually

Choice

Choice

K800 Hotels general
K810 Project Sun

Exported

yes, you can have your exports customized and also use the field properties when you export Data Export tricks and hints

dd.id,dd.label
K800,Hotels general
K810,Project Sun