OpenTable

OpenTable opens an already created table.
unsigned int OpenTable (
   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
#define FIRST_TABLE 1
CODBPP database;
char16_t *message;
if((error = database.OpenDatabase(TEXT("YourDatabase"))) == NO_ERROR
&& (error = database.BeginTransacation()) == NO_ERROR
&& (error = database.OpenTable(FIRST_TABLE)) == NO_ERROR){
         ...
}
if(error && database.GetErrorMessage(&message) == NO_ERROR)
   MessageBox(message);
database.CloseDatabase();

Also See

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