Moving the null value in a poplist to the top
Gary_WMay 6 2009 — edited May 6 2009First off this is not another "how to get rid of the null in my poplist?" question!
My client has requested the null to be at the top of the list like a standard windows dropdown instead of at the bottom. After I populate the list, I can call ADD_LIST_ELEMENT() and add a null to the top. That works good and control goes there, but there is a null at the top and bottom. If I call DELETE_LIST_ELEMENT() and remove the bottom null, then where the poplist item is part of a mutli-record block the as yet filled in rows in that block have the last value from the poplist displayed, but grayed out. See image below, where the top list element is null, and the last is "unknown". If I leave the null at the bottom then all rows are null, as expected.
!http://home.comcast.net/~blueskies39/poplist.jpg!
Any ideas?
Thank you,
Gary
Oops forgot to mention I'm using Forms 10g.
Edited by: Gary_W on May 6, 2009 4:18 PM
Edited by: Gary_W on May 6, 2009 4:31 PM