SiMX Help‎ > ‎The Target Platform‎ > ‎Objects‎ > ‎DBCreator Object‎ > ‎

DBCreator.GetRecordNumber


Platform Objects


Description

Returns the current record number. The range of this value is from 0 to GetRecordCount() - 1. Select must be called prior to making calls to this method.


Syntax


Function GetRecordNumber


Parameters


none


Return value


int - the record number


Example

This sample is not yet available.

Dim current
If DB.Select() Then 
   DB.GoRandom( 25 ) 
   current = DB.GetRecordNumber() ' current is 25 now 
End If


See also

Platform Objects and Methods
DB.sort
DB.AppendFinish
DBCreator.GetStatistics