![]() | Products |
| Home » Technical Support » ElevateDB Technical Support » Product Manuals » ElevateDB Version 2 Manual for RAD Studio 2007 (C++) » DBISAM Migration » Migrating a DBISAM Database Using Code |
| Module | Description |
| edbmigratedbisam1 | DBISAM Version 1.x migrator module |
| edbmigratedbisam2 | DBISAM Version 2.x migrator module |
| edbmigratedbisam3 | DBISAM Version 3.x migrator module |
| edbmigratedbisam4 | DBISAM Version 4.x migrator module |
// This example uses the default Session
// component to register the migrator module using the
// Execute method
Session()->Execute("CREATE MODULE \"DBISAM4\" "+
"PATH 'C:\Program Files\ElevateDB 2 ADD\libs\edbmigratedbisam4\unicode\win32\edbmigratedbisam4.dll' "+
"DESCRIPTION 'DBISAM 4 Migrator'");// This example uses the default Session
// component to create the migrator using the
// Execute method
Session()->Execute("CREATE MIGRATOR \"DBISAM4\" "+
"MODULE \"DBISAM4\" "+
"DESCRIPTION 'DBISAM 4 Migrator'");// This example uses the default Session
// component to create the database using the
// Execute method
Session()->Execute("CREATE DATABASE MyDatabase "+
"PATH 'c:\\mydatabase'");// This example uses an existing TEDBDatabase
// component to migrate the database using the
// Execute method
{
MyDatabase->DatabaseName="MyDatabase";
MyDatabase->Database="MyDatabase";
MyDatabase->Execute("MIGRATE DATABASE FROM \"DBISAM4\" "+
"USING DatabaseDirectory = 'c:\\dbisamdata'"+
"WITH DATA");
}
This web page was last updated on Tuesday, September 16, 2025 at 04:56 PM | Privacy Policy © 2026 Elevate Software, Inc. All Rights Reserved Questions or comments ? |

