antique3S13
Simple, Sincere and Straightforward.
- Local time
- Today, 11:20
- Joined
- Aug 2, 2013
- Messages
- 52
Dear All,
I created a database in which i created four fields like Morning in Time, Morning out time, Evening in time, and evening out time. I used DateDiff function to calculate number of hours between these four fields now i want to create a new field in which if function is used to restrict the field entry to maximum 6 hours or below how it will be done i used this expression to calculate number of hours =DateDiff("h",[MIT],[MOT])+DateDiff("h",[EIT],[EOT])
I created a database in which i created four fields like Morning in Time, Morning out time, Evening in time, and evening out time. I used DateDiff function to calculate number of hours between these four fields now i want to create a new field in which if function is used to restrict the field entry to maximum 6 hours or below how it will be done i used this expression to calculate number of hours =DateDiff("h",[MIT],[MOT])+DateDiff("h",[EIT],[EOT])