Downtime - Uptime = differencedowntime

GregSmith

Registered User.
Local time
Today, 17:55
Joined
Feb 22, 2002
Messages
126
I have 2 fields created for my downtime and uptime. When I enter the times I want the totaldowntime field to update and tell me the difference between the 2. I have been at this for some time and keep getting errors.

Any clues on how to do this??
 
to display the "totaldowntime" in hours/seconds format, you can use the following:

totaldowntime: Format([uptime]-[downtime],"hh:nn")

Access 2000 converts this to "Short Time" when I run it, but you can also add seconds if you need to go that specific:

totaldowntime: Format([uptime]-[downtime],"hh:nn:ss")
 
Jatfill,

I am adding the statement: Format([uptime]-[downtime],"hh:nn") to the totaldowntime textbox under data and defualt value but it always sticks in a date instead of a time.

Any clues?
 

Users who are viewing this thread

Back
Top Bottom