Subject RE: [IBO] Connect bug when setting DatabaseName property
Author Jason Wharton
> > In previous releases, setting "DatabaseName" with a full
> connect-string
> > also set the server and protocol. I was debugging my application and
> > it kept my protocol to "cpLocal" when using the following
> connect string:
> >
> > martijn-ws/3055:e:\data\helis.fdb
> >
> >
> > During runtime, it was able to access the database, for some reason,
> > but not when debugging.
> >
> >
> > Got a clue?
>
> I found more --
>
> I'm now using the .Database property, as I recalled that was
> the way to go.
>
> Protocol is set to TCP/IP (in Params) by the SetDatabase
> property setter.
>
> Next, if I ask for the protocol, I'm getting cpLocal back.
> Params holds
> PROTOCOL=TCP/IP though.
>
> Is this the debugger messing up on me??

It is likely the parsing for the Database string that is faulty.
You can set the properties Server, Path and Protocol individually if you
want to stay away from this problem. In the meantime, I'll add this email
to my folder of potential issues needing a fix.

Jason