🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.database
Article #2044

D4 and the TDatabase.OnLogin event

#2044
From: Marc Scheuner
Date: Tue, 08 Dec 1998 00:00
21 lines
1638 bytes
I have a monitoring application that needs to determine what database
to connect to at login time, so I use the OnLogin event to present a
list of possible target databases from which the user picked one, and
then I connected to that DB. 

In D3, I was able to set any of the LoginParams in this event, things
like the server to connect to, what net protocol to use, and more. My
app worked just nicely.

It seems now in Delphi 4, I can *only* set the user name and password.
Is this correct, has anyone else had this effect, too? Why is this so?
Any way around it? 

Marc
--------------------------------------------------------------------------
Marc Scheuner                            Berner Versicherungen, Dept. ISV
May the Source be With You               Laupenstrasse 27
marc.scheuner@berner.ch                  CH-3001 BERNE, Switzerland
--------------------------------------------------------------------------
Technical Details
Message-ID: <366e1037.14483676@news.bernoise.ch>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ffff5,18a79683a60d83f9,start
X-Google-Attributes: gidffff5,public
X-Google-Thread: 115d96,18a79683a60d83f9,start
X-Google-Attributes: gid115d96,public
From: marc.scheuner@no.spam.please.ch (Marc Scheuner)
Subject: D4 and the TDatabase.OnLogin event
Date: 1998/12/08
Message-ID: <366e1037.14483676@news.bernoise.ch>
X-Deja-AN: 420017887
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=us-ascii
Organization: Berner Versicherungen
Mime-Version: 1.0
Reply-To: marc.scheuner@no.spam.please.ch (Marc Scheuner)
Newsgroups: borland.public.delphi.database,comp.lang.pascal.delphi.databases