🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #1380

Re: How disable Interbase login window in app?

#1380
From: Jeff Overcash (TeamB)
Date: Thu, 04 Nov 1999 00:00
19 lines
1428 bytes
Use a TDatabsae object, set the User Name and password in the params list and
set the LoginPrompt to false.  Make sure that all your dataset components use
the TDatabase instead of the external alias (iow they use the TDatabase's
databasename as their databasename property).  Finally the TDatabase needs to be
created and connected before any Tquery/TTable is made active.

Max Pankratov wrote:
> 
> When my app started, always pop-up interbase login window.
> How I can pass to the Interbase server default user name and
>  password without login prompt?
> [C++ Builder 4]

-- 
Jeff Overcash (TeamB) 
      (Please do not email me directly unless  asked. Thank You) 
Anyone who cannot cope with mathematics is not fully human.
At best he is a tolerable subhuman who has learned to wear 
shoes, bathe and not make messes in the house.   (Heinlein)
Technical Details
Message-ID: <3821A5ED.6179A10E@onramp.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7vrclp$pn78@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,1e1c40d22519a222
X-Google-Attributes: gidfcd2b,public
From: "Jeff Overcash (TeamB)" <overcash@onramp.net>
Subject: Re: How disable Interbase login window in app?
Date: 1999/11/04
Message-ID: <3821A5ED.6179A10E@onramp.net>
X-Deja-AN: 544422201
Content-Transfer-Encoding: 7bit
References: <7vrclp$pn78@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: TeamB
Mime-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.multi-tier