Determining If an Index Tag Is Ascending or Descending

ID: Q99920

The information in this article applies to:

You can use the following function to determine if an index tag is in descending order. It returns a true value for index tags in descending order, and a false value for tags in ascending order.

   FUNCTION isdescend
   IF "DESCENDING" $ SET("ORDER")
      RETURN .T.
   ELSE
      RETURN .F.
   ENDIF

Additional reference words: FoxDos FoxWin 2.00 2.50 2.50a KBCategory: kbprg KBSubcategory: FxprgGeneral

Last Reviewed: June 27, 1995