Hi Corey yes I am using a tdatasource and ttable because I only have
professional and not any of the ADO controls.

I get the prompt when the application first loads, but more drastically, I
don't know if the session is timing out or whatever but sometimes I come in
in the morning and there is an error message User name and password
undefined. I click ok and the application closes.

How can i configure it so that this prompt never occurs while still using
these controls?

Any ideas?

Matt.


----- Original Message -----
From: "Corey Murtagh" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Friday, May 18, 2001 2:08 PM
Subject: Re: [DUG]: Basic database error.


> Matthew Comb wrote:
> >
> > Hi people,
> >
> > What can I do to stop User name and password undefined error message in
my
> > app. (has access via odbc backend).
>
> Are you using a TDatabase to access the ODBC data source?  They give you
> more control over ODBC parameters, including the username and password.
> Just remember to change the database that your tables/queries are
connecting
> to so that they go through the connection created by the TDatabase.
>
> --
> Corey Murtagh
> The Electric Monk
> "Quidquid latine dictum sit, altum viditur!"
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to