Neo90815
09-06-2000, 09:25 AM
I need to calculate the time [Start] and [TimeEnd] and display the results in another field called [TimeDiff].
The code described below works perfectly but the code is in the Control Source of [TimeDiff] on the Form. So, when I call for it in Table or Query the results/vaule of [TimeDiff] would not display.
*************************************
= Format([DateTime] - 1 - [AckwldgTime], "Short Time")
*************************************
I probably have to declare a variable and assign the results of the calculated fields to it. Then send the value to [TimeDiff] field....But I don't know the code http://www.access-programmers.co.uk/ubb/frown.gif
Anyone has any suggestions? Would I need to create Crosstable Query just to do this simple calcuation?
Thanks a million in advance!
Neo
The code described below works perfectly but the code is in the Control Source of [TimeDiff] on the Form. So, when I call for it in Table or Query the results/vaule of [TimeDiff] would not display.
*************************************
= Format([DateTime] - 1 - [AckwldgTime], "Short Time")
*************************************
I probably have to declare a variable and assign the results of the calculated fields to it. Then send the value to [TimeDiff] field....But I don't know the code http://www.access-programmers.co.uk/ubb/frown.gif
Anyone has any suggestions? Would I need to create Crosstable Query just to do this simple calcuation?
Thanks a million in advance!
Neo