🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #2622

Re: mysql data source name setup

#2622
From: Viatcheslav V. Vassiliev
Date: Sun, 27 Apr 2003 09:14
54 lines
2531 bytes
Set LoginPrompt to false and add "Prompt=4;" to your connection string.
Possible values for prompt  are:

      adPromptAlways 1 Prompts always.
      adPromptComplete 2 Prompts if more information is required.
      adPromptCompleteRequired 3 Prompts if more information is required but
optional parameters are not allowed.
      adPromptNever 4 Never prompts.



----------------------------------------------------------------
Regards,
Viatcheslav V. Vassiliev
http://www.oledbdirect.com
The fastest way to access MS SQL Server, MS Jet (MS Access)
and Interbase (through OLEDB) databases.


"Philipp" <phili@no-spam.de> �������/�������� � �������� ���������:
news:3eab159b$1@newsgroups.borland.com...
> hello,
>
> i have written my first small application using ADO to connect to a mysal
> database. in the TADOConnection component I set my database settings in
the
> Connection String. There i switch to create and set the data in that
"mysql
> data source name setup" dialog.
>
> Now my problem is, that these information will always be asked, when i
> compile my application. is there any way to prevint this or does there is
an
> extra property which save my settings.
>
> Philipp
>
> --
> Mit freundlichem Gru� / Best regards
>
> Philipp von der Born
>
> Engelke & von der Born Trading GmbH
> Preiswerte-Tinte.de
> Falldorf 20
> 28857 Syke
>
> Tel: 04240 9613036
> Tel: 0421 1650479
> Fax: 030 484984224
> www.preiswerte-tinte.de
>
>
>
Technical Details
Message-ID: <3eaba12e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3eab159b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,532fda898199e84
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-04-27 02:39:09 PST
From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3eab159b$1@newsgroups.borland.com>
Subject: Re: mysql data source name setup
Date: Sun, 27 Apr 2003 13:14:01 +0400
Lines: 56
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 213.247.201.57
Message-ID: <3eaba12e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1051435310 213.247.201.57 (27 Apr 2003 02:21:50 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail