This article has been archived. It is offered "as is" and will no longer be updated.
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.