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.2 . Technical Reference - <b>dbordercondinfo</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DBORDERCONDINFO
 Information needed for the creation of a conditional Order
------------------------------------------------------------------------------
 Structure

     typedef struct _ORDERCONDINFO_
     {
        BOOL  active;
        BYTEP cFor;
        ITEM  bFor;
        ITEM  bWhile;
        ITEM  bEval;
        LONG  step;
        LONG  startRecord;
        LONG  nextCount;
        LONG  record;
        BOOL  rest;
        BOOL  descending;
        BOOL  scoped;
        BOOL  all;
     } DBORDERCONDINFO;
     
     typedef DBORDERCONDINFO far * DBORDERCONDINFOP;

 Elements

     active

        Contains a boolean value indicating whether one or more valid
        conditions have been specified in the structure.

     cFor / bFor

        Contain a CA-Clipper-level reference to a string and a matching code
        block containing the key expression defining the FOR condition to be
        used for the creation and maintenance of the Order.

     bWhile

        Contains a CA-Clipper-level reference to a code block defining the
        WHILE condition to be used for the creation of the Order.  If NIL, no
        WHILE condition is being specified.

     bEval

        Contains a CA-Clipper-level reference to a code block defining the
        expression to be evaluated every step rows (records) during the
        creation of the Order.  The code block referenced should always
        evaluate to either TRUE (indicating that creation of the Order should
        continue normally) or FALSE (indicating that Order creation should
        terminate).  A return value of FALSE from bEval does not constitute
        an error condition but rather is the mechanism by which an RDD is
        informed that no more rows are to be included in the Order.

     step

        Contains a numeric value determining the frequency of the evaluation
        of bEval.

     startRecord

        Contains a numeric value indicating the row at which to begin
        processing when either the nextCount or rest scoping options are
        specified.

     nextCount

        Contains a numeric value indicating the number of rows to process for
        Order creation.

     record

        Contains a numeric value indicating a single row to include in the
        Order.

     rest

        Contains a boolean value indicating that only the rows specified by
        startRecord through end-of-file (EOF) are to be included in the
        Order.

     descending

        Contains a boolean value indicating whether the Order should be
        created in descending Order.

     scoped

        Contains a boolean value indicating whether the Order is to be
        scoped.  scoped will be TRUE if any of bWhile, nextCount, record,
        rest, or all are specified.

     all

        Contains a boolean value indicating whether all rows are to be
        processed during Order creation.

 Files:  Header file is Rdd.api.

 Used by:   DBORDERCREATEINFO, orderCreate()


See Also: DBORDERCREATEINFO orderCreate()

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