Subject | Re: [IBO] connection question |
---|---|
Author | Paul Little |
Post date | 2001-01-12T10:16:31Z |
I'm not entirely sure that I know what you mean here. I have numerous
IBOQuery components in my app and they all have the DataBaseName
property set, they also have the IB_Connection proprty set
(automatically by the conversion process) - I am assuming that this is
not what you are referring to.
I only have one TIBODataBase component which is on my "mainform" and
everything points to this. I tried the steps you outlined below but it
still gave me the error. Incidentally, even though I have the
PasswordRemembered property set to False the SavedPassword property
still gets poulated as soon as I enter the password into the params
property - I assume I have to do this still, like I did with BDE.
Paul
Helen Borrie wrote:
IBOQuery components in my app and they all have the DataBaseName
property set, they also have the IB_Connection proprty set
(automatically by the conversion process) - I am assuming that this is
not what you are referring to.
I only have one TIBODataBase component which is on my "mainform" and
everything points to this. I tried the steps you outlined below but it
still gave me the error. Incidentally, even though I have the
PasswordRemembered property set to False the SavedPassword property
still gets poulated as soon as I enter the password into the params
property - I assume I have to do this still, like I did with BDE.
Paul
Helen Borrie wrote:
>
> At 08:35 AM 12-01-01 +0000, you wrote:
> >Simply removing these two things gave no improvement at all. It seems
> >that the only way I can connect cleanly is to have nothing in the Params
> >property, set PasswordRemembered to false, LoginPrompt to true and let
> >the user login via the dialogue box.
> >
> >I did really want to avoid this (I know, I know) so if anyone has any
> >more suggestions I'd be glad to hear them.
>
> I wonder whether you have any TIBOQueries around the place that are
> attached to an implicit TIBODatabase.
> You could check that by searching the dfm file(s) for 'Database' to
> discover whether you have some old legacy there from your BDE app.
>
> If you don't find anything there, this should do it:
>
> Delete the TIBODatabase.
> Save and close the project.
> I think this should remove any stray Registry entries.
>
> Reopen the project.
> Drop on a new TIBODatabase and set it all up from scratch.
>
> This time, don't use the two password saving properties.= **at all**.
>
> Helen
>
> All for Open and Open for All
> InterBase Developer Initiative ยท http://www.interbase2000.org
> _______________________________________________________