I am looking for a solution in which the pay rate field starts out locked when the user opens the form and then is unlocked based on the security level of the individual who opens the form. What is the best strategy to accomplish this?
Firstly welcome to Dynamics User Group.
You will need to add the securify level to the user.
then in the ONFormOpen trigger use the EDITABLE command to control the field in question
UserRec.GET( USERID );
IF UserRec.“Security Level” < 2 THEN
CURRFORM.“Pay Rate”.EDITABLE( FALSE );
Glad to Help [:D]