Icon ValidateName Method

procedure ValidateName(const Name: String)

Call the ValidateName method to prevent duplicate access to a TEDBDatabase component from within a single TEDBSession component. The Name parameter contains the DatabaseName of the TEDBDatabase component to test. If the TEDBDatabase component is already open, the ValidateName method raises an exception. If the TEDBDatabase component is not open, the procedure returns, and the application continues processing.

Information Most applications should not need to call this method directly. It is called automatically each time a TEDBDatabase component is opened.
Image