I am looking to create a database to record when students' work has been handed in to the office. I have created the form but it needs to be able to record who signed in the work. There are several people working in the office and will use the database. How can I record who logged in to the database to accept the work on the form itself?

Re: Database Forms and logins 80 80

Tell more about how they logged into the database.

Re: Database Forms and logins 80 80

I am thinking along the lines that the office staff will have indivdual usernames and passwords and login in on a seperate form, before going to the main form which acts as a receipt.

Re: Database Forms and logins 80 80

Then that is where that information is. As worded at top I read this they were logging in already.

Few may guess what you have now. If it's some networked app then they logged into their PC as some user. CurrentUser() may be a shortcut but I can't know if you are networked, etc. More at https://www.techonthenet.com/access/functions/advanced/currentuser.php

Re: Database Forms and logins 80 80

Many Thanks, I will have a look at it

Re: Database Forms and logins 80 80

Google sheets keeps track of all changes and who entered them, and allows multiple user concurrent access. An RDBMS app needs to know who is logged in to make changes, and could have a complete history as well as status (the latest history) rows and active (the status is active) rows. I once wrote a quick app like this, where active and status were just views of history, all churn ws insert, and so history was 100%, very handy in RAD. Later we added archival update/delete, where the original/deleted were copied to parallel tables, and undo/redo was supported. It had just a few tables: courses, students, teachers, and learning events where the three interacted. Later we added areas, which was nice until users deleted people to get them out of their area only to have them reappear when they were reactivated in their new area. Dead to me is not dead! :D

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.