Article View: borland.public.cppbuilder.database.ado
Article #926Using a Login prompt to connect to a database
From: Nigel
Date: Fri, 11 Mar 2005 09:34
Date: Fri, 11 Mar 2005 09:34
12 lines
1535 bytes
1535 bytes
Hello everyone, I have just reciently ported an application using a MSAccess Database to SQL Server, and now want to use the login prompt for users to login. Everything works fine, but I want to be able to capture an incorrect login and redisplay the login prompt until the login is correct or terminate the applciation if the user clicks the cancel button on the login prompt. Any help with this will be greatly appreciated Nigel P.S. I cannot get the sample given in the help system of BCB6 to work, maybe something to do with encoded usernames and passwords that I am not using.
Technical Details
Message-ID:
<4231643b@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.usenet.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,49235dc1c8772707,start X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Nigel" <nhussey@gltame.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: Using a Login prompt to connect to a database Date: Fri, 11 Mar 2005 11:34:00 +0200 Lines: 14 Organization: Grinaker - LTA X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 196.38.60.194 Message-ID: <4231643b@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1110533179 196.38.60.194 (11 Mar 2005 01:26:19 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.usenet.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail