If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How do I lock form for users except boss to review and sign
I am trying to lock my form after they have been input to all users except
boss who needs to review and sign off on them. How do I do this |
#2
|
|||
|
|||
How do I lock form for users except boss to review and sign
Locking the form is not going to work for you. You need a field in your
table that determines whether they have been signed off. I recommend a Boolen(yes/no) field with the default value set set in the table design to False. Then Signed Off would be true. Now put a CheckBox control on your form also with a Default value of False and bind it to the field in your table. Make the Visible property of the control No. If the boss uses the same form as the users, then you need a way to make the control visible only for the boss. There is an API function at this site http://www.mvps.org/access/api/api0008.htm that allows you to determine who the logged on user is. In the Load event of your form, call this function and if it returns the boss' network login name, make the check box visible. "kris81252" wrote: I am trying to lock my form after they have been input to all users except boss who needs to review and sign off on them. How do I do this |
Thread Tools | |
Display Modes | |
|
|