Call the ValidateName method to prevent duplicate access to a TDBISAMDatabase component from within a single TDBISAMSession component. The Name parameter contains the DatabaseName of the TDBISAMDatabase component to test. If the TDBISAMDatabase component is already open, the ValidateName method raises an exception. If the TDBISAMDatabase component is not open, the procedure returns, and the application continues processing.
Most applications should not need to call this method directly. It is called automatically each time a TDBISAMDatabase component is opened.