Article View: borland.public.cppbuilder.database.ado
Article #4385Re: ODBC Help -- Please
From: Arnie Mauer
Date: Mon, 21 Jan 2002 19:36
Date: Mon, 21 Jan 2002 19:36
27 lines
1895 bytes
1895 bytes
You have to set up an ODBC DSN on the client. You have to build a connect string fot the TADOConnection. Drop a TADOConnection object on a form. Click the elipsis on its connection string property anf then select "Build..." from the resulting dialog. You can experiment with the input parameters and get an example connection string from there. - Arnie "Glenn MacGregor" <gtm@oracom.com> wrote in message news:3c489fb2$1_2@dnews... > Hi All, > > I am using a postgres database on a network machine. I want to write a > front end for it using BCB 5. I think I have it down to using ADO > components, from what I can tell they seem to be the best. I want to pop up > a login dlg (my own, not the ADOConnection's). Once I have that info is > there a way to setup a ADOConnection using that info. The info I would be > getting would be user name, password and db server. Does there need to be > an ODBC DSN setup for the server or can I just go there? > > Thanks > > Glenn > >
Technical Details
Message-ID:
<3c4c6dc5$1_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!proxad.net!proxad.net!skynet.be!skynet.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<3c489fb2$1_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,5dd2f3e61b80704b X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-01-21 11:38:29 PST From: "Arnie Mauer" <amauer@vrms.com> Newsgroups: borland.public.cppbuilder.database.ado References: <3c489fb2$1_2@dnews> Subject: Re: ODBC Help -- Please Date: Mon, 21 Jan 2002 14:36:58 -0500 Lines: 29 Organization: VRMS X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 24.151.50.11 Message-ID: <3c4c6dc5$1_2@dnews> X-Trace: dnews 1011641797 24.151.50.11 (21 Jan 2002 11:36:37 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!proxad.net!proxad.net!skynet.be!skynet.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews