G
Guest
I have a database that each user has a company badge number that they sign
equipment out with. When they sign out equipment it goes to an emp file and
finds the user. If the user doesnt exist of course it says so. If it does it
lets them sign out the equipment. I want to take this to another level as
below but need help.
1. I want to only allow them to sign out one piece of equipment at a time.
ANy idea on the code I should use in the Emp bedge# field that it looks up.
My data for units signed out is in a table called tbl_Header.
2. I want to be able to have a table that I will call my Naughty list. This
list will have teh Badge Numbers of people who dont return guns on a regular
basis or the previous day. I want to be able to (manually is ok) add people
to this list (This part I can do easily duh), but the more complex part for
me would be VBCode telling it if the person is in the Emp and not in the
Naughty list table then let them have the unit. If they are in the emp table
but on the Naughty list then display msgbox and not record record in
tbl_Header.
equipment out with. When they sign out equipment it goes to an emp file and
finds the user. If the user doesnt exist of course it says so. If it does it
lets them sign out the equipment. I want to take this to another level as
below but need help.
1. I want to only allow them to sign out one piece of equipment at a time.
ANy idea on the code I should use in the Emp bedge# field that it looks up.
My data for units signed out is in a table called tbl_Header.
2. I want to be able to have a table that I will call my Naughty list. This
list will have teh Badge Numbers of people who dont return guns on a regular
basis or the previous day. I want to be able to (manually is ok) add people
to this list (This part I can do easily duh), but the more complex part for
me would be VBCode telling it if the person is in the Emp and not in the
Naughty list table then let them have the unit. If they are in the emp table
but on the Naughty list then display msgbox and not record record in
tbl_Header.