You are currently offline, waiting for your internet to reconnect

Removing Text from Drop Down Lists

This article has been archived. It is offered "as is" and will no longer be updated.
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: 12/26/2014 07:58:36 - Revision: 2.0

  • kbnosurvey kbarchive kbmbsmigrate KB866810