Technics
Member
- Local time
- Today, 16:00
- Joined
- Aug 9, 2025
- Messages
- 35
Pictured is my clockin/out form. I have it setup so when an employee hits the clockin button the form closes. When they reopen the form under the same name the form shows their clockin time, they click the clockout button and the form closes. It has recorded their time for that period. The problem happens when an employee forgets to clockin so they just click clockout which makes the total hours worked report column show #error even for employees that did clockin.
My thoughts, simple fix! Grey out the clockout button =false and make it only available if they have clocked in. If someone forgets to clockin they have to click clockin, turn around and clockout. Time can be adjusted manually. I can make this work as long as the form stays open but I need it to close on each click. When the form is reopened for clockout the button is still greyed out. I tried some form events procedures with opening/closing but still can't get it to work as I need. I come to the experts.
My thoughts, simple fix! Grey out the clockout button =false and make it only available if they have clocked in. If someone forgets to clockin they have to click clockin, turn around and clockout. Time can be adjusted manually. I can make this work as long as the form stays open but I need it to close on each click. When the form is reopened for clockout the button is still greyed out. I tried some form events procedures with opening/closing but still can't get it to work as I need. I come to the experts.