Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Guide To CA-Clipper - <b>set descending</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SET DESCENDING
 Change the descending flag of the controlling order
------------------------------------------------------------------------------
 Syntax

     SET DESCENDING ON | OFF | (<lToggle>)

 Arguments

     ON enables the descending flag.

     OFF disables the descending flag.

     <lToggle> is a logical expression that must be enclosed in
     parentheses.  A value of true (.T.) is the same as ON, and a value of
     false (.F.) is the same as OFF.

     Note:  The initial default of this setting depends on whether the
     controlling order was created with DESCENDING as an attribute.

 Description

     SET DESCENDING is functionally equivalent to ORDDESCEND().  Refer to
     this function for more information.

 Examples

     .  The following example illustrates SET DESCENDING.  every order
        can be both ascending and descending:

        USE Customer VIA "DBFCDX"
        INDEX ON LastName TAG Last
        INDEX ON FirstName TAG First DESCENDING

        SET ORDER TO TAG Last
        // last was originally created in ascending order

        // Swap it to descending
        SET DESCENDING ON
        // Last will now be processed in descending order

        SET ORDER TO TAG First
        // First was originally created in descending order


        // Swap it to ascending
        SET DESCENDING OFF
        // First will now be processed in ascending order

 Files   Library is CLIPPER.LIB.


See Also: ORDDESCEND()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson