EasyTable: Single-File Embedded BDE Replacement
Database for Delphi and C++Builder


TEasyDatabase.CreateDatabase
TEasyDatabase
Top 

Creates a new database file.

procedure CreateDatabase; overload;
procedure CreateDatabase(NewDatabaseFileName: String); overload;

Description
Call CreateDatabase at runtime to create a database file using DatabaseFileName property. If the database file already exists, CreateDatabase overwrites the database's data. To avoid overwriting an existing database, check the Exists property before calling CreateDatabase.

You can set DatabaseFileName property before call to CreateDatabase method or specify it as a parameter.


© AidAim Software EasyTable: Easytable Bde Alternative Single File Delphi Databas