473,498 Members | 1,713 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Simplified form by login module

2 New Member
I wonder of i can simplify the client form by reducing ceritain field, but still stored to the records.
For example, i give assignment to review a book to 30 students, and i want them to report using access.
The first module Will be login page, and after login they Will be directed to the same form, but on that form, they don't have to input their name, classes, and student number anymore because itu itu Will be gathered by their login id. (I add name, classes, and student id fields on the login table). Anyone can help?
Apr 22 '18 #1
2 1297
NeoPa
32,557 Recognized Expert Moderator MVP
Have the students already logged onto the computer/domain when they run this Access application? Or do they share a system?

I ask because most people starting out believe they need the operator to sign in again. Into the Access application. In most cases that is both unnecessary and introduces many security problems. Problems you really don't want to be responsible for introducing.

You can retrieve the UserID of the operator from within Access (See Function to Return UserName (NT Login) of Current User). You can store information for each supported user in a local table to handle who can do what. The Primary ID of that table (obviously) would be the UserID you've got from the OS.

An example of such usage, albeit fairly full-featured, can be found at How To Create User Permissions and Customized Menus in MS Access. Bear in mind that's just one example. It can provide you with a number of ideas for your project, but do make sure yours fits what you want/need.

Avoid user login forms like the plague. They can be almost as damaging to you in their own way.
Apr 22 '18 #2
Tindan
2 New Member
I'll check it. Wil let u know soon
Apr 22 '18 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
2268
by: Jason Charalambides | last post by:
Is there a way I can import a given value to a variable from the main form to a module? I wanted to have some routines that are repeated set in a module subroutine. However, the value of a...
1
1688
by: Mustafa | last post by:
dear sir In my vb.net window application i have the MDI form MainMDI and child form form1 adn module as MainModule In my MainMDI Parent form i have one toolbar i.e. tbraction. I am trying to show...
5
1946
by: | last post by:
Hi, I have a simple MDIChild login form that loads before the parent, and if the user hit's the cancel button on the login form, the whole app should unload. How can I do this? Thanks
1
1722
by: joye | last post by:
Hi, I know how the show a MessageBox in Form.h module by using VC.NET. But I don't know how to show the MessageBox at another class such as task.cpp which called by the Form.h; my question is...
4
5302
by: Jason Huang | last post by:
Hi, In my C# Windows Form project, saying in form frmLogin I have two TextBoxes, UserName, Password. How do I make the frmLogin remember the current UserName, so next time I login to the...
8
2421
by: glamster7 | last post by:
Ok folks its Friday & I'm feeling a bit thick (also not very well). I have a form Salonmanagerdetail wich allows the user to enter the following details Stylist_Id,Stylist_Name,Group_Name &...
4
2279
by: anush | last post by:
I would like to create a login module using php without a mysql backend. I'd just want to save the data in an encrypted file. Any pointers would be helpful.
5
3173
by: mcfly1204 | last post by:
I am attempting to use WebRequest to access a page that requires a login/password to access. My last WebRequest continues to timeout. Any help or thoughts would be appreciated. namespace...
1
1535
kirubagari
by: kirubagari | last post by:
Dear expert, i had written the code in my form Public Function HoldType(ByRef sType As String) As String If bOkClicked Then sType = "Rehold " End If
0
7125
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7002
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7165
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7203
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6885
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
4908
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
3093
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3081
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
290
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.