adoFldCount
Previous Topic  Next Topic 

Synopsis:

       numfields=adoFldCount(handle)

Arguments:

       handle - The recordset handle.


Description:   This function returns the number of fields (columns) in the underlying recordset data.      The names of these fields can then be obtained using the adoFldGetName() function.


Returns:   Returns the number of fields (columns) in the underlying recordset data or a negative error code.   If ADOERR_COMERR is returned, then the underlying ADO error can be obtained by calling adoLastError()