|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How can I lock based on certain field?I have created a database that has a form with subforms to enter data, all
based on an Incident_Number field. Incident_Number being the link for all data tables. In the main table to store all this data, I have a field for Status, either Active, or Closed. How can I make ALL rows with the same Incident_Number that have a Status of "Closed" become read only for everyone except Administrator? Is this possible? On Tue, 5 Sep 2006 13:38:02 -0700, ArthurMailloux <ArthurMaill***@discussions.microsoft.com> wrote:
>I have created a database that has a form with subforms to enter data, all This doesn't really have anything to do with Access Security, but here's a suggestion:>based on an Incident_Number field. Incident_Number being the link for all >data tables. > >In the main table to store all this data, I have a field for Status, either >Active, or Closed. > >How can I make ALL rows with the same Incident_Number that have a Status of >"Closed" become read only for everyone except Administrator? Is this possible? You can use the form's Current event to determine the status of a record: Sub Form_Current() Me.AllowEdits = (Me!status='Closed') End Sub Scott McDaniel scott@takemeout_infotrakker.com www.infotrakker.com
Allow Help Desk to Reset Passwords Without Full Admins Permissions
Necessary Permissions Security restrictions and table linking Login in dynamically secured database Drop Down on Table Access Database Security Remove Security from Access Lost My Permissions from mdb how to openForm a form in a referenced mde file |
|||||||||||||||||||||||