DavidDonaldDoo said:
I need to create a database that can add hours worked in an [hh:mm] format
that can surpass 24 hours. I do not know which format to choose when setting
up the field.
Access (actually no database that I know of) has such a type of field. To you
and I and even to a program like Excel the expression 4:32 can mean either the
time 4:32 or the duration 4 hours and 32 minutes. To Access it ONLY means the
time of day 4:32. Since DateTimes are stored internally as numbers you can do
"DateTime math", but as you have seen, doing this with time really only works as
long as the total stays under 24 hours.
The usual practice is to store the smallest interval you care about as Integers
or LongIntegers and then use an expression after doing the summing that
*displays* the result in HH:MM format.
Another way to go is to store start and end DateTimes and then use DateDiff() to
return the total Hours or Minutes or Seconds between them. This result can
again be used in an expression for a result in HH:MM format.