[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DBTRANSINFO
 Define global transfer of data items from one work area to another
------------------------------------------------------------------------------
 Structure

     typedef struct
     {
        struct _AREA  far * lpaSource;
        struct _AREA  far * lpaDest;
        DBSCOPEINFO   dbsci;
        USHORT        uiFlags;
        USHORT        uiItemCount;
        LPDBTRANSITEM lpTransItems;
     } DBTRANSINFO;
     
     typedef DBTRANSINFO far * LPDBTRANSINFO;

 Elements

     lpaSource

        Contains a pointer to the source work area.

     lpaDest

        Contains a pointer to the destination work area.

     dbsci

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

     uiFlags

        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 work area and the destination work area have
                       identical row structures (i.e., all fields match)
        DBTF_PUTREC    The RDD has the ability to transfer an entire row
        ---------------------------------------------------------------------

     uiItemCount

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

     lpTransItems

        An array of character data type values, assumed to be the items to
        transfer to the destination work area.  lpTransItems 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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson