Equinox Online Help - Language Reference - A to Z

Home

ListEmpty

Applies to
SyntaxListEmpty [ListItem]
Action[Statement] Empties a specified combo field or all combo fields in an application.
ScopeOnly usable in form methods.
Notes

This statement is used to empty a combo field or workarea specified by the ListItem parameter or if this parameter is omitted it will empty all combo fields or workareas in an application. If ListItem is not a listable type, SysError is set to one. Note that ListReset will still reset the fields or workareas to their default values after they have been emptied.

The system workarea SysError is set to a non-zero value if an error occurs, otherwise zero.

CategoryCombo lists
See Also ListAppend, ListCount, ListDelete, ListDeleteString, ListFind, ListInsert, ListRead, ListReset, ListSpace
Example

This example empties the field named County.

ListEmpty County