G
Guest
I'm new to Access. First project is to creat Db to track employee time. We
need to track total hours used as well as well as "Occurrences". For
example, an employee calls in sick for two consecutive days would result in
two 8-hour blocks of sick time used but would only count as one occurence
(per union contract).
I've creatd one table called "tblOccurrence" and another called
"tblTimeEvents". The form developed populates tblTimeEvents as a subform for
tblOccurrences. In tblOccurrence I have a field for StartDate and another for
EndDate while each TimeEvent also has an EventDate field.
The problem I have is in the work flow with this setup. Most "Occurrences"
are only one day so I frequently end up entering the same date in three
different fields, that seems rather inefficient.
Would it be best to correct this by eliminating the two date fields in the
"tblOccurrences" (and work it out in a report) or is there a reasonably easy
way to default the EndDate in "tblOccurrences"and the eventDate in
"tblTimeEvents" to the first date I'd normally enter, the StartDate field. I
like the way my inital attempts at reports look with the two extra fields (as
far as the data structure,that is; it still isn't very pretty.)
need to track total hours used as well as well as "Occurrences". For
example, an employee calls in sick for two consecutive days would result in
two 8-hour blocks of sick time used but would only count as one occurence
(per union contract).
I've creatd one table called "tblOccurrence" and another called
"tblTimeEvents". The form developed populates tblTimeEvents as a subform for
tblOccurrences. In tblOccurrence I have a field for StartDate and another for
EndDate while each TimeEvent also has an EventDate field.
The problem I have is in the work flow with this setup. Most "Occurrences"
are only one day so I frequently end up entering the same date in three
different fields, that seems rather inefficient.
Would it be best to correct this by eliminating the two date fields in the
"tblOccurrences" (and work it out in a report) or is there a reasonably easy
way to default the EndDate in "tblOccurrences"and the eventDate in
"tblTimeEvents" to the first date I'd normally enter, the StartDate field. I
like the way my inital attempts at reports look with the two extra fields (as
far as the data structure,that is; it still isn't very pretty.)