Prototype
TableLast(intTableHandle) Description
It places itself on the last table record.
Parameters
IntTableHandle: integer value corresponding to the table handle.
Returned value
None.
Notes
When TableLast is used after an edit or an insert command (TableEdit, TableInsert, ) all those changes made on the current record are automatically confirmed and it is reached the last record in consultation mode.
If one tries to place on an inexistent record it will appear an error. Example
//It opens a table
UnaTabella:=TableOpen('c:\archive\index\','archive.db');
//It places itself on the last table record
TableLast(UnaTabella);
// It starts a cycle ending when the top of the table is reached
While not TableBof(UnaTabella) do