locking row of data need some help
Posted: 2020-12-31 03:50
I am looking for some code to help lock a row once a certain selection is selected from a drop down.
My drop down is if called REPORT_STATUS.
There are 4 selection options; REPORT IN PROGRESS, SUBMITTED OF REVIEW, EDITS NEEDED, APPROVED.
THERE ARE TWO WORKING GROUPS IN MY APP; OFFICER AND SUPERVISOR.
OFFICER will be doing 99.9% of entering data and will be selecting these three options only for report status; REPORT IN PROGRESS, SUBMITTED OF REVIEW, EDITS NEEDED. Once the supervisor reads the report and thinks it complete, they will mark the report status as "APPROVED". This is when I want the row to be locked out from "Officer" to only have (Read-Only) access. Basically removing Edit/Delete access to the record.
I could use code help and where to insert it.
Any help would be great!
My drop down is if called REPORT_STATUS.
There are 4 selection options; REPORT IN PROGRESS, SUBMITTED OF REVIEW, EDITS NEEDED, APPROVED.
THERE ARE TWO WORKING GROUPS IN MY APP; OFFICER AND SUPERVISOR.
OFFICER will be doing 99.9% of entering data and will be selecting these three options only for report status; REPORT IN PROGRESS, SUBMITTED OF REVIEW, EDITS NEEDED. Once the supervisor reads the report and thinks it complete, they will mark the report status as "APPROVED". This is when I want the row to be locked out from "Officer" to only have (Read-Only) access. Basically removing Edit/Delete access to the record.
I could use code help and where to insert it.
Any help would be great!