Decode a picklist field value in a #PRIM_LIST Column

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
dvanoni
Posts: 32
Joined: Wed Dec 02, 2015 3:47 am
Location: Chiasso - Switzerland

Decode a picklist field value in a #PRIM_LIST Column

Post by dvanoni » Wed Mar 23, 2016 5:15 pm

Hi all,

is it possible to decode the value of a field that has a picklist with its related caption in a #PRIM_List Column?

I mean I have a field with a picklist in its definition. When I use a #PRIM_GRID component I can define a #PRIM_GDCL with the property "Usepicklist" set to "True" value and the field as a source. In this way the value of the field is automatically decoded to its related caption.

Is there a similar way to do this with a #PRIM_List column?

Thanks

User avatar
Stewart Marshall
Posts: 417
Joined: Thu Nov 05, 2015 5:25 pm

Re: Decode a picklist field value in a #PRIM_LIST Column

Post by Stewart Marshall » Wed Mar 23, 2016 8:48 pm

Prim_list does not support Field Visualization in the way that Grid does.

You can however make a very simple reusable part to reproduce the functionality.

Regards
Stewart Marshall

Independent IT Consultant
www.marshallfloyd.com.au

Post Reply