Equinox Online Help - Language Reference - A to Z

Home

ListReset

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

This statement is used to reset a combo field or workarea to the defaults specified by the ListItem parameter or if this parameter is omitted it will reset all combo fields or workareas in an application.

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, ListEmpty, ListFind, ListInsert, ListRead, ListSpace
Example

This simple example resets a field named Yachts to its default value.

ListReset Yachts