Adding a Picklist to an existing iSeries field

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
John
Posts: 24
Joined: Thu Aug 10, 2017 3:21 pm

Adding a Picklist to an existing iSeries field

Post by John »

I have a field in an iSeries file I have added a picklist to.
Clipboard01.jpg
Clipboard01.jpg (79.9 KiB) Viewed 6782 times
I checked it in and got no errors. But when it's displayed in the Popup editor, it just shows as a regular field and not like a dropdown.

Am I doing something wrong or is this just not supported for an existing iSeries field?
jyoung
Posts: 694
Joined: Thu Jan 21, 2016 6:43 am
Location: Oklahoma City, OK USA

Re: Adding a Picklist to an existing iSeries field

Post by jyoung »

Did you select the 'VisualPicklist' to be the default visual?

In the Properties window, you should see a 'DefaultVisual' checkbox, make sure that is selected.
John
Posts: 24
Joined: Thu Aug 10, 2017 3:21 pm

Re: Adding a Picklist to an existing iSeries field

Post by John »

No, but I have now.

I checked it in but still didn't work until I recompiled the popup editor.

Thank you very much for your help :-).
jyoung
Posts: 694
Joined: Thu Jan 21, 2016 6:43 am
Location: Oklahoma City, OK USA

Re: Adding a Picklist to an existing iSeries field

Post by jyoung »

Yeah, its easy to forget to recompile, I think the general advice is that anytime you change a Field, you need to recompile the components that use it.
Post Reply