G
Guest
I have a table tblDaily_Attendance with the fields
Regular_Work_Hrs
Breaks_Hrs_Allowed
LandD_Hrs_Allowed
all the 3 fields are of Date/Time data types with format=Short time
Regular_Work_Hrs is generally 9 hours
Breaks_Hrs_Allowed is 30 min.
LandD_Hrs_Allowed is 45 min.
I wanted to have a calculation in vba as
Regular_Work_Hrs - ( Breaks_Hrs_Allowed + LandD_Hrs_Allowed ) which would
yeild a result 7:45 hours (i.e. 9hrs - (30min + 45 min))
While entering I want to give the Reqular_Work_Hrs as
9:00,Breaks_Hrs_Allowed as 0:30 and LandD_Hrs_Allowed as 0:45
How do i get this as the format mentioned?
Regular_Work_Hrs
Breaks_Hrs_Allowed
LandD_Hrs_Allowed
all the 3 fields are of Date/Time data types with format=Short time
Regular_Work_Hrs is generally 9 hours
Breaks_Hrs_Allowed is 30 min.
LandD_Hrs_Allowed is 45 min.
I wanted to have a calculation in vba as
Regular_Work_Hrs - ( Breaks_Hrs_Allowed + LandD_Hrs_Allowed ) which would
yeild a result 7:45 hours (i.e. 9hrs - (30min + 45 min))
While entering I want to give the Reqular_Work_Hrs as
9:00,Breaks_Hrs_Allowed as 0:30 and LandD_Hrs_Allowed as 0:45
How do i get this as the format mentioned?