OpenDatabase

ODBPPLib.IODBPP.OpenDatabase enables the connection to an already created database.
void OpenDatabase (
   string databaseName
);

Parameters

databaseName'\0' terminating string that contains the path for the database control file.

Return Values

Remarks

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

Also See

CloseDatabase, CreateDatabase
Comments (0)Listen All
Characters left: 2500
 
Ekky Software Homepage Ekky Software Homepage ObjectDatabase++ TScript Ekky Software Homepage Ekky Software Homepage ObjectDatabase++ TScript