473,378 Members | 1,372 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Simple Password Form

I am building a simple access database for a small home business. I
have a table containing userid, password, and rights(either admin or
regular) which will simply stop someone from clicking on certain
command buttons. Setting up users and groups is really not neccessary
as it is just a few people logging in. The problem i have Is I can't
figure out how to return the rights value after the usrid and password
check ok. I can get it to log in just not return the value in the
rights column

Nov 15 '05 #1
2 3777
Could you not use a Dlookup function?

Something like dlookup("Rights_Field","Rights_Table","Rights_User ID =
forms!Form_Name_Where_ID_Is_Entered!Textbox_Name")

Allen's site will give you an insight into Dlookup
http://allenbrowne.com/casu-07.html

Mark

"Chuckles" <tm*****@new.rr.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
I am building a simple access database for a small home business. I
have a table containing userid, password, and rights(either admin or
regular) which will simply stop someone from clicking on certain
command buttons. Setting up users and groups is really not neccessary
as it is just a few people logging in. The problem i have Is I can't
figure out how to return the rights value after the usrid and password
check ok. I can get it to log in just not return the value in the
rights column

Nov 15 '05 #2
Thanks Mark
That worked.
Great link also

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Cergon | last post by:
hi, i hope someone can help. Im pretty new to this php stuff and i have a slight problem. I have this script (shown below) which writes data to a text file which is then displayed on my front...
5
by: calaha | last post by:
Hi all, I have been working with this since last night, and can't quite figure out why it's not working. I have a simple login box form that is set to be my startup form in my Access app (upon...
10
by: Fred | last post by:
Hi all ! Newbie in C programming needs help please ... I have a Windows console application written in C who ask a password on the command line . I want to change the original code to ask the...
1
by: Newbie! | last post by:
Hi Group, I have VB.NET and wanted to build a simple User/Password Login for My App. I have a Database with 3 Field, PrimaryID, UserName & Password. I want to be able to have a ComboBox look...
1
by: carmstrong | last post by:
I'm new to PHP and I'm trying to write up a simple PHP login page script to authenticate users from a flat file. I've managed to make most of it work, except that it only accepts the last user on...
1
by: Neal Middlemore | last post by:
Hi, I want to be able to add some simple security to one of my pages, basically my page allows users to submit a text field which gets parsed into MySQL db and displayed on other pages. At the...
1
by: steventhomas42 | last post by:
Greetings, I am creating a website for a volunteer-based organization that would like to accept volunteer registrations online. They want the visitors to fill out a simple form to submit and...
5
by: Hitesh Joshi | last post by:
Hi, Not sure if this is the right group to ask this question... I have never worked with asp or vb and I need some starting point clue on delima I am facing. I need to access an external...
5
by: olaamussah | last post by:
Hi, i just started learning perl which i would use for my uni. project unfortunately. Well, this is a simple user login page i tried to create but i cant get it to work. Can someone please check this...
1
by: dan.cawthorne | last post by:
Hi all, Need Some Help With A Simple Password Form What a I Have Is Single Field Table, With One Record In It The Field is Called table is also called "Password" which ive created a form...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.