TIBEvents compont generates error Database name is missing

By: Quinn Wildman

Abstract: When the registered property is set to true in the IDE the error Error reading IBEvents1.Registered: Database name is missing occurs

Q. I have a TIBEvents component with my application, how come even though I have the Database Name property set for the component, every time I run my application I get the error "IBEvents1.Registered: Database name is missing" occurs?

A. This error occurs if the registered property is set to true for the TIBEvents component and the associated database is not open yet. To avoid the error set the registered property to true in code after the database is open.


IBEvents1.Registered := True;

Server Response from: ETNASC04