CloseTable

CloseTable closes a previously opened table.
unsigned int CloseTable (
   unsigned int tableID
);

Parameters

tableIDthe table ID defining the table's handle

Return Values

If the method succeeds, the return value is zero else see error codes for more details.

Remarks

Example Use
CODBPP database;
char16_t *message;
if(database.BeginTransaction() == NO_ERROR{
   if((error = database.OpenTable(1)) == NO_ERROR){
      ...
   }
   if(error && database.GetErrorMessage(&message) == NO_ERROR)
      MessageBox(message);
   database.CloseTable(1);
}
else if(database.GetErrorMessage(&message) == NO_ERROR) MessageBox(message);
database.EndTransaction();

Also See

AddTable, CreateTable, OpenTable, RemoveTable
Comments (0)Listen All
Characters left: 2500
 
Ekky Software Homepage Ekky Software Homepage ObjectDatabase++ TScript Ekky Software Homepage Ekky Software Homepage ObjectDatabase++ TScript