[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 createFields()
 Add all columns defined in an array to the work area
------------------------------------------------------------------------------
 Prototype

     ERRCODE createFields(
                                AREAP wa,
                                FARP  lpvStru
                             )

 Arguments

     wa is a pointer to self.

     lpvStru is a pointer to an array containing the column definitions
     to add.  The length of this array is equal to the number of columns to
     add.  Each element of lpvStru is a subarray containing information about
     a single column.

 Default Behavior

     createFields() is used to implement the CA-Clipper DBCREATE() function.
     It adds the columns, in the order specified by lpvStru, by calling
     addField() for each subarray.

 Implementation Notes

     .  Most implementations should use the default behavior for
        createFields().  However, if you change the createFields()
        implementation, be aware of the order imposed on adding fields
        to the work area structures.

 Files  Header file is Rdd.api.


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