GetRecCount 

Syntax

object.GetRecCount

Description

Call this method to retrieve the number of records returned by the query.

Remarks

GetRecCount method returns the number of records that the query has returned.

Example

This sample code shows how to use GetRecCount  method to update contents of some display field situated in the Status bar of Host application.

Private Sub ShowRecordsCount()

Dim sText

sText = "Total Records:" & ELS_QBCtrl.GetRecCount()

frmMDI.stBarMDI.Panels.Item(1).Text = sText

End Sub