IBDAC
Occurs when the database is attached.
TCustomIBCService
property OnAttach: TNotifyEvent;
Write an OnAttach event handler to take specific actions when a database is attached. If an exception is raised in this event, the database is not attached.