# ORDLISTCLEAR()

Clear the current Order List

Syntax

  ORDLISTCLEAR() --> NIL

Arguments

Returns

  ORDLISTCLEAR() always returns NIL.

Description

  ORDLISTCLEAR() is an Order management function that removes all Orders from the Order List for the current or aliased work area. When you are done, the Order List is empty.
  This function supersedes the function DBCLEARINDEX().

Examples

       USE Sales NEW
       SET INDEX TO SaRegion, SaRep, SaCode
       .
       . < statements >
       .
       ORDLISTCLEAR()      // Closes all the current indexes
    Tests

Status

  Started

Compliance

Platforms

  All

Files

  Library is rdd

See Also

- DBCLEARINDEX()