[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DBORDERCONDINFO
 Information needed for the creation of a conditional order
------------------------------------------------------------------------------
 Structure

     typedef struct _DBORDERCONDINFO
     {
        BOOL  fActive;
        BYTEP abFor;
        ITEM  itmCobFor;
        ITEM  itmCobWhile;
        ITEM  itmCobEval;
        LONG  lStep;
        LONG  lStartRecno;
        LONG  lNextCount;
        LONG  lRecno;
        BOOL  fRest;
        BOOL  fDescending;
        BOOL  fScoped;

        BOOL  fAll;
        BOOL  fAdditive;
        BOOL  fUseCurrent;
        BOOL  fCustom;
        BOOL  fNoOptimize;
        FARP  lpvCargo;
     } DBORDERCONDINFO;
     
     typedef DBORDERCONDINFO far * LPDBORDERCONDINFO;

 Elements

     fActive

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

     abFor / itmCobFor

        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.

     itmCobWhile

        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.

     itmCobEval

        Contains a CA-Clipper-level reference to a code block defining the
        expression to be evaluated every lStep 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 itmCobEval 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.

     lStep

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

     lStartRecno

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

     lNextCount

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

     lRecno

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

     fRest

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

     fDescending

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

     fScoped

        Contains a boolean value indicating whether the order is to be
        scoped.  fScoped will be TRUE if any of itmCobWhile, lNextCount,
        lRecno, fRest, or fAll are specified.

     fAll

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

     fAdditive

        Contains a boolean value indicating whether open orders should remain
        open while the new order is being created.

     fUseCurrent

        Contains a boolean value indicating whether only rows in the
        controlling order will be included in this order.

     fCustom

        Contains a boolean value indicating whether the new order will be a
        custom-built order.

     fNoOptimize

        Contains a boolean value indicating whether the FOR condition will be
        optimized.

     lpvCargo

        Contains a pointer to a value of any data type provided as a user-
        definable slot.  It may be used by the RDD developer as an all-
        purpose holder.

 Files  Header file is Rdd.api.

 Used By    DBORDERCREATEINFO, orderCreate()


See Also: DBORDERCREATEINFO orderCreate()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson