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 scopetop</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SET SCOPETOP
 Change the top boundary for scoping key values in the controlling order
------------------------------------------------------------------------------
 Syntax

     SET SCOPETOP TO [<expNewTop>]

 Arguments

     <expNewTop> is the top range of key values that will be included in
     the controlling order's current scope.  <expNewTop> can be an expression
     that matches the data type of the key expression in the controlling
     order or a code block that returns the correct data type.

 Description

     SET SCOPETOP, when used with the <expNewTop> argument, is functionally
     equivalent to ORDSCOPE(0, <expNewTop>).  SET SCOPETOP, when used with no
     argument, is functionally equivalent to ORDSCOPE(0, NIL).  Refer to the
     ORDSCOPE() function for more information.

 Examples

     .  The following example illustrates the SET SCOPETOP command:

        USE Inventor NEW
        INDEX ON PartNo TO Parts

        SET SCOPETOP TO 1000
        // Only part numbers greater than or equal to 1000
        // will be used.

 Files   Library is CLIPPER.LIB.


See Also: ORDSCOPE()

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