GetFieldSizebyName returns the RMS file field size in byte and the number of field elements by the field name.
Function GetFieldSizebyName(rmsHandle as Integer, fldname As String, nsize As Integer, nelem As Integer) As Integer
rmsHandle
RMS file handle
fldname
The RMS file field name
nsize
The field size
nelem
The number of the field elements
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.
Call GetFieldSizebyName to get the data field size and is the number of elements by the
field name before calling the data retrieving functions.