🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: database login

#2069
From: Ken Owen
Date: Fri, 25 Sep 1998 00:00
15 lines
1099 bytes
Marc Lacoursiere wrote in message <36025d56.2521905@news.total.net>...
>I just wrote a program that uses an access database with delphi4. When
>I connect to it, it always asks me for a login and a password even if
>I put a TDatabase on a form with LoginPrompt to false... Is there a
>way to bypass it?


Make sure you've got TQuery pointing to TDatabase
and also add
USER NAME=XXXXX
PASSWORD=YYYYYY
to the params property.

Good Luck
Technical Details
Message-ID: <WUNO1.6073$Q96.813412@newscene.newscene.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36025d56.2521905@news.total.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 115d96,738622e54bd02450
X-Google-Attributes: gid115d96,public
X-Google-Thread: 10de66,738622e54bd02450
X-Google-Attributes: gid10de66,public
From: "Ken Owen" <kowen@nomin.norlink.net>
Subject: Re: database login
Date: 1998/09/25
Message-ID: <WUNO1.6073$Q96.813412@newscene.newscene.com>
X-Deja-AN: 394742663
References: <36025d56.2521905@news.total.net>
Organization: Newscene Public Access Usenet News Service (http://www.newscene.com/)
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.delphi.database,borland.public.delphi.database.sqlservers