I don't know a ton of VBA or SQL really but I'm working on just a simple database.
I am making a DB that will store door access logs. It shows the persons name, date and time that they entered as well as any exceptions or denied access, and I want it to show which door. The problem is that each door is just assigned a number - 1, 2, 3, etc. So when I display the LockID in the form for which door it just shows the number. I would like it to say the name of the door, based on which number is there. I.E. when it sees a 1 it should replace that with "Front Door", etc. I just don't know how to format the code to make that work, so some help would be appreciated.
I am making a DB that will store door access logs. It shows the persons name, date and time that they entered as well as any exceptions or denied access, and I want it to show which door. The problem is that each door is just assigned a number - 1, 2, 3, etc. So when I display the LockID in the form for which door it just shows the number. I would like it to say the name of the door, based on which number is there. I.E. when it sees a 1 it should replace that with "Front Door", etc. I just don't know how to format the code to make that work, so some help would be appreciated.