Article View: borland.public.cppbuilder.database.ado
Article #5059Re: AcCESSS
From: Mark Cashman
Date: Fri, 10 Aug 2001 11:24
Date: Fri, 10 Aug 2001 11:24
29 lines
1978 bytes
1978 bytes
Hi, Zulander!
Please don't cross post as it is against the newsgroup guidelines at
www.borland.com/newsgroups
To make the connection at design time, just click on the
ConnectionString property of the TADOQuery or TADOTable object.
To make it at run time, PromptDataSource is the function you need. Have
a look in adodb.pas
function PromptDataSource(ParentHandle:
THandle; InitialString:
WideString): WideString;
is the signature; the parent handle is the handle of the window that the
dialog should use as the parent - the Application or main form are fine
for this.
I hope this helps.
------
Mark Cashman (TeamB - C++ Builder), creator of The Temporal Doorway at
http://www.temporaldoorway.com
- Original digital art, writing, music and more -
C++ Builder / JBuilder Tips and The C++ Builder Programmer's Webring
(Join us!)
http://www.temporaldoorway.com/programming/index.htm
------
Technical Details
Message-ID:
<3B73C461.C54CB1A2@temporaldoorway.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsReferences:
<3b6cdfc1_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10bf25,15a692ba3872faf3 X-Google-Attributes: gid10bf25,public X-Google-Thread: 10698b,15a692ba3872faf3 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-08-10 04:31:45 PST Message-ID: <3B73C461.C54CB1A2@temporaldoorway.com> Date: Fri, 10 Aug 2001 07:24:17 -0400 From: Mark Cashman <mcashman@temporaldoorway.com> Reply-To: mcashman@temporaldoorway.com X-Mailer: Mozilla 4.77 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.ado,borland.public.cppbuilder.database.desktop Subject: Re: AcCESSS References: <3b6cdfc1_2@dnews> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.14.197.193 X-Trace: dnews 997442734 24.14.197.193 (10 Aug 2001 04:25:34 -0700) Lines: 31 Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews