@Logit : Thank you for the code, very much appreciated for your help. Do not know what to do without this forum
@Nosparks : here is the file after the code change from Logit.
This file for attendance employee, so they can absence by themselves but can not change the attendance record.