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>dbtransinfo</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DBTRANSINFO
 Define a global transfer of data items from one workarea to another
------------------------------------------------------------------------------
 Structure

     typedef struct
     {
        struct _WORKAREA_ far * dest;
        DBSCOPEINFO  scope;
     
        USHORT       flags;
     
        USHORT       itemCount;
        DBTRANSITEMP items;
     } DBTRANSINFO;
     
     typedef DBTRANSINFO far * DBTRANSINFOP;

 Elements

     dest

        Contains a pointer to the destination workarea.

     scope

        Contains a data structure describing the limits of the scope of the
        transfer (see DBSCOPEINFO).

     flags

        Contains literal constants specifying transfer attributes.  The flag
        values are defined in Rdd.api and have the following meanings:

        DBTRANSINFO Transfer Flag Values
        ---------------------------------------------------------------------
        Constant       Meaning
        ---------------------------------------------------------------------
        DBTF_MATCH     Both this workarea and the destination workarea have
                       identical row structures (i.e., all fields match)
        DBTF_PUTREC    The RDD has the ability to transfer an entire row
        ---------------------------------------------------------------------

     itemCount

        Contains a numeric value specifying the number of items in the items
        array, below.  (This is usually the number of fields to be
        transferred).

     items

        An array of character data type values, assumed to be the items to
        transfer to the destination workarea.  items is usually a list of
        field mappings from the source to the destination (see DBTRANSITEM).

 Files:  Header file is Rdd.api.

 Used by:   DBSORTINFO, trans(), transRec()


See Also: DBSORTINFO trans() transRec()

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