TableEOF
Previous  Top  Next

Prototype

BoolEOF:=TableEOF(intTableHandle)

Description

It returns true if the end 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 stores the table handle 
UnaTabella:=TableOpen('c:\archive\index\','clients.db');

// It places itself on the first record of the table 
TableFirst(UnaTabella);

//it starts the cycle 
While not TableEOF(UnaTabella) do

Begin  
 
//It sets the edit mode   
TableEdit(UnaTabella);  
 
//It sends a sequence of keys   
SendKeys('Invoices', TableGetFieldByName(UnaTabella,'COMPANY TITLE'), False, False, false);  
 
//It moves on the next record   
TableNext(UnaTabella);  
End;  

//It closes the table 
TableClose(UnaTabella);