🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Using a Login prompt to connect to a database

#931
From: billaras1234
Date: Tue, 15 Mar 2005 08:08
22 lines
1995 bytes
i have used thiw feature in one of my application in thw following way: i
created a table logins,and when the user entered his username and password i
used a ado query to check the table logins.simple.
� "Nigel" <nhussey@gltame.com> ������ ��� ������
news:4231643b@newsgroups.borland.com...
> 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: <423697ff$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4231643b@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,49235dc1c8772707
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII
Reply-To: "billaras1234" <billaras1234@hotmail.com>
From: "billaras1234" <billaras1234@hotmail.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <4231643b@newsgroups.borland.com>
Subject: Re: Using a Login prompt to connect to a database
Date: Tue, 15 Mar 2005 10:08:33 +0200
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 195.251.45.43
Message-ID: <423697ff$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1110874111 195.251.45.43 (15 Mar 2005 00:08:31 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail