CloseTable

ODBPPLib.IODBPP.CloseTable closes a previously opened table.
void CloseTable(
   uint tableId
);

Parameters

tableIdthe table Id defining the table's handle.

Return Values

Remarks

Example Use
  • C#
public static uint FIRST_TABLE = 1;
private void button1_Click(object sender, EventArgs e){
   try{
      ODBPPLib.ODBPP odbpp = new ODBPPLib.ODBPP();
      odbpp.OpenDatabase("C:\\My\\Database\\Control\\File.odc");
      odbpp.BeginTransaction(odbpp.SHARED, 60000);
      odbpp.OpenTable(FIRST_TABLE);
      ...
      odbpp.CloseTable(FIRST_TABLE);
      odbpp.EndTransaction();
   }
   catch (Exception e1){
      MessageBox.Show(e1.Message);
   }
}

Also See

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