Cicode Programming Reference > Cicode Function Categories > Server Functions Introduction > ServerBrowseNumRecords

ServerBrowseNumRecords

The ServerBrowseNumRecords function returns the number of records that match the filter criteria.

Syntax

ServerBrowseNumRecords(iSession)

iSession:

Handle to a browse session previously opened by a ServerBrowseOpen call.

Return Value

The number of records that matched the filter criteria. A value of 0 denotes that no records matched. A value of -1 denotes that the browse session is unable to provide a fixed number. This could be the case if the data being browsed changed during the browse session.

Related Functions

ServerBrowseClose, ServerBrowseFirst, ServerBrowseGetField, ServerBrowseNext, ServerBrowseOpen, ServerBrowsePrev

See Also