Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

calculated time difference. 1

Status
Not open for further replies.

EM1107

IS-IT--Management
Apr 24, 2002
153
CA
Good day everyone.

I am not an expert in MS Access and just started using it.
I have figured how to calculate time difference but as it is it only appear on my table while I add the time start and time stop.
My next step is to store this data into a column so that I can see the the value when I am looking for it.

As it stand I can see it when I add the time but once I save it and close my table the time difference is not stored in my table.

So in my table I have the following columns:

Start time, Stop Time and TOTAL Time.

I would like my TOTAL TIME to be stored in my database column.

Any Idea would be appreciated.
I have added a screen shot of my table to better understand.
 
 https://files.engineering.com/getfile.aspx?folder=68d6dd86-debd-4547-a3f5-34068ed66f4c&file=2022-05-18_09-16-39.bmp
If you have start time and stop time in your table, why do you also need total time, given you can calculate it whenever you need it? You may have a very valid reason, but technically, storing calculated values is a violation of database normalization.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top