TableClose

Top  Previous  Next

Prototype

 

TableClose(IntTableHandle)

 

Description

 

Closes the table passed as a parameter.

 

Parameters

 

IntTableHandle: integer value corresponding to the table handle.

 

Returned value

 

None.

 

Notes

 

None.

 

Example

 

// Store the table handle

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

 

// Move to the first record of the table

TableFirst(TableOne);

 

// Start the loop

While not TableEOF(TableOne) do

 

Begin

 

// Set the edit mode

TableEdit(TableOne);

 

// Send a sequence of keys

SendKeys('Invoices', TableGetFieldByName(TableOne,'COMPANY TITLE'), False, False, false);

 

// Move to the next record

TableNext(TableOne);

End;

 

// Closes the table

TableClose(TableOne);