DB.GoBottom

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.GetFieldVaue( "Field1" ) 

   DB.GoTop() 

   first_val = DB.GetFieldVaue( "Field1" ) 

End If 

See also

DB.GetFieldValue

DB.sort

DB.AppendFinish