General information
Category:
Coding, syntax & commands
THISFORM.lstItems.Clear()
SELE Table
SET ORDER TO SortOrder
SCAN
THISFORM.lstItems.AddItem(Table.Descript)
ENDSCAN
>What's the best way to clear a listbox?
>
>and
>
>What's the best way to relist items in a listbox that come from a table using scan...endscan? I thought by setting my counter (index) to 1 the list would start over at the top of the listbox each time through the scan...endscan. Instead, it appends (repeats) the same info within the listbox. I suspect my counter is not getting reset, but I am not quite sure if that's the cause.
>
>Thanks for the help.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only