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>fieldcount()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 fieldCount()
 Determine the number of columns (fields) in the workarea
------------------------------------------------------------------------------
 Prototype

     ERRCODE fieldCount(
                         WORKAREAP wa,
                         USHORTP fieldCount
                       )

 Arguments

     wa is a pointer to self.

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

 Description

     Gets the physical column count for wa.

 Default Behavior

     Copies wa->fieldCount 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: WORKAREA fieldName() reccount()

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