OpenTable
OpenTable opens an already created table.
unsigned int OpenTable (
unsigned int tableID
);
Parameters
| tableID |
The 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((error = database.OpenDatabase(_T"YourDatabase")) == NO_ERROR){
if((error = database.BeginTransacation()) == NO_ERROR){
if((error = database.OpenTable(1)) == NO_ERROR){
...
}
}
}
if(error && database.GetErrorMessage(&message) == NO_ERROR)
MessageBox(message);
database.CloseDatabase();
Also See
AddTable, CloseTable,
CreateTable, RemoveTable,
SetTableSchema
Copyright © 2003-2008, Ekky Software Pty. Ltd.