GetFieldSizebyName

GetFieldSizebyName returns the RMS file field size in byte and the number of field elements by the field name.

Syntax

Function GetFieldSizebyName(rmsHandle as Integer, fldname As String, nsize As Integer, nelem As Integer) As Integer

Parameters

rmsHandle

RMS file handle

fldname

The RMS file field name

nsize

The field size

nelem

The number of the field elements

Return Values

On success, GetFieldSizebyName returns 0 and sets nsize to the field size and nelem to the number of the field elements.  If failed, it returns -1.

Remarks

Call GetFieldSizebyName to get the data field size and is the number of elements by the

field name before calling the data retrieving functions.

See Also

GetFieldSizeGetFieldSize