TableClose
Previous  Top  Next

Prototype

TableClose
(IntTableHandle)

Description

It closes the table passed as a parameter.

Parameters

IntTableHandle
: integer value corresponding to the table handle.

Returned value

None.

Notes

None.

Example

//It stores the table handle 
UnaTabella:=TableOpen('c:\archivie\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);