Accuracer: The First And Only Cross-Platform BDE Replacement
Client-Server Single-File Embedded Database with SQL for Delphi / C++Builder / Kylix


TACRDatabase.ValidateName
TACRDatabase
Top 

Raises an exception if a specified database is already open in the active session.

procedure ValidateName(const Name: String);

Description
Call ValidateName to prevent duplicate access to a database from within a single session. Name is a string containing the name of the database to test. If the database is already open, ValidateName raises the EDatabaseError exception. If the database is not open, the procedure returns, and the application continues processing.

Note:Most applications should not need to call this method directly. It is called automatically each time a database is opened.  


© AidAim Software Accuracer: Contents-cross-platform Windows Linux Databas