in some of our tables, users can't modify old records. The records have a "Locked" field which autoenters to 0, their associated privileges allow edit only if Locked = 0, at midnight + 1 minute the server executes a script that finds all records with Locked = 0 and replaces it with 1.
So far so good.
My problem is wording the error message differently, if they attempt to modify a record. Instead of the standard "Your access privileges do not allow you to perform this action", OK button, I'd like to display "You can't edit old transaction data", OK button.
Is it possible ? All I've tried says "no".