TableBOF
Previous  Top  Next

Prototype

BoolEOF:=TableBOF(intTableHandle)

Description

It 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

// It opens a table
UnaTabella:=TableOpen('c:\archive\index\','archive.db');

//It places itself on the last record of the table 
TableLast(UnaTabella);

//It starts a cycle ending when the top of the table has been reached 
While not TableBof(UnaTabella) do 

Begin  
//It sets the edit mode of the table   
TableEdit(UnaTabella)  
 
//It edits all the table fields   
TableSetField(UnaTabella,0,'Edited');  
 
//It moves on the prior record   
TablePrior(UnaTabella);  
End;