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

DBCreator.GoBottom


Platform Objects


Description

Positions on the last record of the record set. Select should be done first.


Syntax


Function GoBottom


Parameters


none


Return value


none


Example

Code sample

Dim first_val, last_val
If DB.Select() Then 
   DB.GoBottom() 
   last_val = DB.GetFieldValue( "Field1" ) 
   DB.GoTop() 
   first_val = DB.GetFieldValue( "Field1" ) 
End If 


See also


DB.GetFieldValue
DB.sort
DB.AppendFinish
DBCreator.GoNext