Removing Text from Drop Down Lists

Article ID: 866810
Expand all | Collapse all

TechKnowledge Content

After I'd added some text items to a drop down list with the add item statement, I wanted to clear them out but leave the original static values. When I used the clear DDL_Field statement, it wiped out all of the values, including the original static values. What should I do?

The clear field statement will always remove all of the static values, regardless of how they're added. Instead, you should use the delete item statement, and put it in a for loop for easier programming.

for index equals 5 to 10 do
delete item index from DDL_Field.
end for.

This article was TechKnowledge Document ID: 9048


Article ID: 866810 - Last Review: July 21, 2011 - Revision: 2.0
kbmbsmigrate KB866810

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from