How to attach a code to a Control Button in Login Form.
Right Click on Enter button (1) and click on PROPERTY (2).
The form property will be displayed.
On “On Click” event, Click the drop down menu (1), choose [Event Procedure], and
then click the button that has 3 dots (2). See picture below.