TableBOF

Top  Previous  Next

Prototype

 

BoolEOF:=TableBOF(intTableHandle)

 

Description

 

Returns true if the beginning of the table has been reached.

 

Parameters

 

IntTableHandle: integer value corresponding to the table handle.

 

 

Returned value

 

BoolEOF: logical value True or False.

 

Notes

 

None.

 

Example

 

// Open a table

TableOne:=TableOpenBDE('c:\archive\index\','archive.db');

 

// Move to the last record of the table

TableLast(TableOne);

 

// Start a loop ending when the top of the table has been reached

While not TableBof(TableOne) do

 

Begin

// Set the edit mode of the table

TableEdit(TableOne)

 

// Edit all the table fields

TableSetField(TableOne,0,'Edited');

 

// Move to the prior record

TablePrior(TableOne);

End;