🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.databases
Article #177

Re: DB login prompt

#177
From: Greg Martin
Date: Wed, 15 Mar 2000 00:00
29 lines
1535 bytes
I am not sure with your explorer but.....

>The same happens if I try to access the DB using a TTable and specifying MS
>Access 97 Database.
>What's wrong?

If you are already using a database component, then set the LoginPrompt
property to False.

If not, you will need to use one and point it to your alias, and then do the
above.

Actually you should always use a database component, as there is a limit on
the amount of concurrent connections you can make without one, so it makes
good sense.

By the way, user names and passwords can be set on Access databases, so if
this is the case.

Set

USERNAME=yourusername
PASSWORD=yourpassword

in the params strings list of the database component.

Hope this helps,

Greg.
Technical Details
Message-ID: <8ane21$e76$1@news6.svr.pol.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <p7Gz4.845$kv6.45169@newsread1.prod.itd.earthlink.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ffff5,1e61310f2fc1009f
X-Google-Attributes: gidffff5,public
X-Google-Thread: fb362,1e61310f2fc1009f
X-Google-Attributes: gidfb362,public
From: "Greg Martin" <gtmartin@onlinehelp.fsnet.co.uk>
Subject: Re: DB login prompt
Date: 2000/03/15
Message-ID: <8ane21$e76$1@news6.svr.pol.co.uk>
X-Deja-AN: 597698519
References: <p7Gz4.845$kv6.45169@newsread1.prod.itd.earthlink.net>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
X-Complaints-To: abuse@theplanet.net
X-Trace: news6.svr.pol.co.uk 953105281 14566 62.136.14.227 (15 Mar 2000 07:28:01 GMT)
Organization: Customer of Planet Online
NNTP-Posting-Date: 15 Mar 2000 07:28:01 GMT
Newsgroups: comp.lang.pascal.delphi.databases,borland.public.delphi.internet