Thread View: borland.public.cppbuilder.database.ado
2 messages
2 total messages
Started by Nigel
Fri, 11 Mar 2005 09:34
Using a Login prompt to connect to a database
Author: 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.
Re: Using a Login prompt to connect to a database
Author: billaras1234
Date: Tue, 15 Mar 2005 08:08
Date: Tue, 15 Mar 2005 08:08
22 lines
1995 bytes
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. > >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads