Subject Re: [IBO] DatabaseName cannot be blank?
Author Steve Harp
--- In IBObjects@yahoogroups.com, Helen Borrie <helebor@t...> wrote:
> At 01:00 AM 5/05/2005 +0000, you wrote:
> >Hi All,
> >
> >I've started getting this error with an existing application when it
> >tries to open a TIBOQuery object. I don't understand the error
> >because the DatabaseName property for the TIB_Connection and the
> >TIBOQuery are both set. In fact, the DatabaseName for the TIBOQuery
> >is populated automatically when the IB_Connection property is set.
> >
> >I'm sure this is a simple fix, but what have I done to screw things up?
>
> Check whether you have inadvertently deleted/altered any of the
> TIB_Connection properties Path, Server or Protocol.
>
I'm setting Server, UserName, Password, Path, PageSize, and Protocol.
Besides, the TIB_Connection object is openning without errors; it's
the TIBOQuery object that's failing. The TIBOQuery object has the
IB_Connection property set to the TIB_Connection object which, inturn,
sets the DatabaseName property.

Steve