matrixindicator
IS-IT--Management
Hey Everyone,
I have a Form on with the user select a customer. In the Form he shows the addresse of the customer. To avoid input of new customers along this form the fields with the addresse is locked. However, when he like to change a selected adresse he can unlock the access to the fields with a button.
This works fine. He should lock the fields again automatically when navigating to a new or previous record in the form. What is the event to use, navigating to a new, a previous record, or leaving the existing record ?
Thanks In Advance.
I have a Form on with the user select a customer. In the Form he shows the addresse of the customer. To avoid input of new customers along this form the fields with the addresse is locked. However, when he like to change a selected adresse he can unlock the access to the fields with a button.
Code:
Forms![F01_ORDERS]!CUSTADRESSE.Locked = False
This works fine. He should lock the fields again automatically when navigating to a new or previous record in the form. What is the event to use, navigating to a new, a previous record, or leaving the existing record ?
Code:
Forms![F01_ORDERS]!CUSTADRESSE.Locked = True
Thanks In Advance.