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
Listen All
Comments (0)
Characters left: 2500
 
Ekky Software Homepage T-Accounts Online ObjectDatabase++ TScript Ekky Software Homepage T-Accounts Onlinee ObjectDatabase++ TScript