FirstRegisteredField

FirstRegisteredField gets the first field name in the internal data retrieving field name list.

Syntax

Function FirstRegisteredField(rmsHandle as Integer, rcode As Integer) As String

Parameters

rmsHandle

RMS file handle

rcode

The execution status

Return Values

On success, FirstRegisteredField returns the first registered field name and sets rcode to 1.  If the field name list is empty, it sets rcode to 0.

Remarks

First call FirstRegisteredField to get the first field name in the internal data retrieving field name list, and then call NextRegisteredField to step through the name list to get the rest of the field names.

See Also

NextRegisteredField