what dev tool are you using????? VB, developer 2000????!!!
pet
Main Topics
Browse All TopicsHi,
I'm new to Oracle. I'm trying to create a login screen where someone enters his/her user name and password. The values entered are checked against a row in the password table.
If they are valid the options in the main menu are enabled.
Otherwise an error message is displayed.
I appreciate alot if someone could help me in doing this.
Thanx Dilantha
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
This really comes under the heading of 'reinventing the wheel'. The database supports the notion of accounts as a native part of the application. Presenting a logon window is part of what the base toolset will automatically do for you when it's appropriate.
What you're suggesting is analogous to building an account system as a DOS application (DOS doesn't support the concept, so you have to build it if you want it). Oracle supports the notion of accounts with some form of authentication - typically passwords, but others are supported as well.
Depending on how the application tool will connect to the database (ODBC or Oracle's SQL*Net product are typical), when a database connection is attempted, the app will invoke the logon window or whatever.
If you'd provide a few more details about the client-side environment, you could get some pretty specific how-to info on setting it up.
Business Accounts
Answer for Membership
by: akumarvPosted on 1998-12-22 at 14:35:22ID: 1083437
Whatever client tool or language you hope to use for the Login screen you need to use SQL. Since you said there is a password table, the following sql should return an answer.
SELECT COUNT(*) into <integer variable> FROM <PASSWORD TABLE> where username = <value input in the user name field> and password = <value input in the password field>
If the <variable> has the value 1 then the user is a valid user else not and you can proceed with enabling the menu options.