Hi
I am using Access 2000
I have an employee table with empno , deptno, empname , designation fields
The designation is like manager , clerk, officer etc
For any dept no .. there can be only one employee whose designation is 'MANAGER'
However there can be any number of 'OFFICER' or 'CLERK'
in the table
The table already has one employee whose desination is 'MANAGER'
How can I lock the table so that no one can edit the table so that they can try to insert a record or modify a record where the designation is 'MANAGER'
This should happen only if a 'MANAGER' is already present in the table.
They can however be able to change the 'MANAGER' to 'OFFICER ' or 'CLERK' etc
How can I do this
Please suggest
Thanks
I am using Access 2000
I have an employee table with empno , deptno, empname , designation fields
The designation is like manager , clerk, officer etc
For any dept no .. there can be only one employee whose designation is 'MANAGER'
However there can be any number of 'OFFICER' or 'CLERK'
in the table
The table already has one employee whose desination is 'MANAGER'
How can I lock the table so that no one can edit the table so that they can try to insert a record or modify a record where the designation is 'MANAGER'
This should happen only if a 'MANAGER' is already present in the table.
They can however be able to change the 'MANAGER' to 'OFFICER ' or 'CLERK' etc
How can I do this
Please suggest
Thanks