[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 fieldCount()
 Determine the number of columns (fields) in the work area
------------------------------------------------------------------------------
 Prototype

     ERRCODE fieldCount(
                             AREAP wa,
                             USHORTP fieldCount
                           )

 Arguments

     wa is a pointer to self.

     fieldCount is a pointer to an unsigned short integer value that
     specifies the number of columns in the work area.

 Description

     fieldCount() gets the physical column count for wa.

 Default Behavior

     Copies wa->uiFieldCount into fieldCount.

 Implementation Notes

     .  If the number of columns is dynamic, fieldCount() should
        return the count for the current row (record).

     Warning!  fieldCount must point to sizeof(USHORT) bytes of allocated
     memory.

 Files  Header file is Rdd.api.


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