Board index » delphi » Help: Automatically Connect To SQL Server???
darryl_ki...@mindlink.bc.ca (Darryl Kimak)
![]() Delphi Developer |
Sun, 19 Sep 1999 03:00:00 GMT
|
darryl_ki...@mindlink.bc.ca (Darryl Kimak)
![]() Delphi Developer |
Sun, 19 Sep 1999 03:00:00 GMT
Help: Automatically Connect To SQL Server???Hi I want to automate the login to SQL Server 6.5 from a Delphi 2.0 I have set the following in the TDatabase part with not affect. LoginPrompt := false It ignores this and continues to prompt me for a login. Help! Darryl |
Brad Ai
![]() Delphi Developer |
Mon, 20 Sep 1999 03:00:00 GMT
Re:Help: Automatically Connect To SQL Server???In article <3342b6c6.3153...@news.mindlink.net>, Quote>Hi in the Database property of your queries. Probably you are getting the queries associated with your database via the implicit database component Delphi creates itself, which of course won't have any of its parameters set like yours does. -- "The highest responsibility of philosophers is to serve as the |
Chuck Hal
![]() Delphi Developer |
Mon, 20 Sep 1999 03:00:00 GMT
Re:Help: Automatically Connect To SQL Server???Make sure the LoginPrompt property is false QuoteDarryl Kimak wrote: |
Darryl Kim
![]() Delphi Developer |
Tue, 21 Sep 1999 03:00:00 GMT
Re:Help: Automatically Connect To SQL Server???Hi I want to automate the login to SQL Server 6.5 from a Delphi 2.0 I have set the following in the TDatabase part with not affect. LoginPrompt := false It ignores this and continues to prompt me for a login. Help! Darryl |
Robert Schiec
![]() Delphi Developer |
Tue, 21 Sep 1999 03:00:00 GMT
Re:Help: Automatically Connect To SQL Server???QuoteDarryl Kimak wrote: shouldn't be any spaces around the "=" sign. If you double click on the TDatabase component and press the defaults button, it will fill in all the necessary data with the correct spelling and capitalization. Don't forget to uncheck the "login Propmt" option. HTH Robert Schieck Client/Server Development and Training using Delphi, InterBase and home page http://www.mers.com |
Gene
![]() Delphi Developer |
Thu, 23 Sep 1999 04:00:00 GMT
Re:Help: Automatically Connect To SQL Server???I am guessing that you may be getting the login prompt from SQL Server Darryl Kimak <dKi...@intergate.bc.ca> wrote in article Quote> Hi |
Eric Mame
![]() Delphi Developer |
Fri, 24 Sep 1999 03:00:00 GMT
Re:Help: Automatically Connect To SQL Server???QuoteGene wrote: SERVER NAME=myservername Questions: Did not you forget 'SERVER NAME' ? Once prompted, do you login successfully ? |
Eric Mame
![]() Delphi Developer |
Fri, 24 Sep 1999 03:00:00 GMT
Re:Help: Automatically Connect To SQL Server???QuoteGene wrote: SERVER NAME=myservername Just in case... Have you tried removing UID and PWD ? |
1. How do I connect to a remote SQL server running SQL Server 7
2. Native driver for SQL-Server 7 / Best way to connect to SQL-Server 7
3. Connecting to server automatically
4. Automatically connect to internet when the user connects
5. Connecting to SQL server - need help please..
6. SQL Server 7.0 - why queries automatically refresh?
7. Automatically establishing a remote SQL Server connection via the Windows Dialer
8. BDE..ODBC..SQL Server Trying to automatically login to database