-- Below is a template/example of Before connect to database event block
execute ibeblock(
  DatabaseID integer comment 'Internal ID (within IBExpert) of the database to be connected',
  IsReconnect boolean comment 'Indicates that Reconnect is performing for active database')
as
begin
  exit;
end