GoBottom

<< Click to Display Table of Contents >>

Navigation:  Apollo VCL Components > Apollo VCL Component Reference > TApolloTable > TApolloTable Methods >

GoBottom

Declaration

procedure GoBottom;

Description

Moves the record pointer to the last record in the file.

 

If an order is active, this is the last logical record in the file. If there is no order active, this is the last physical record in the file.

 

A forward skip from this position will have Eof return True and the record buffer will be emptied.

 

If SetDeleted is True, and/or a filter is set with SetFilter or Query, or a scope has been set, the record pointer will be positioned to the last record in the file that satisfies the imposed conditions.

Delphi Example

// Use GoBottom to force end of file

ApTbl.GoBottom;

ApTbl.Skip( 1 );

ShowMessage( 'End of file has been set' );

C++Builder Example

// Use GoBottom to force end of file

ApTbl->GoBottom();

ApTbl->Skip( 1 );

ShowMessage( "End of file has been set" );

See Also

Go , GoTop, Query, Skip, SetDeleted, SetFilter