jmthompson
Technical User
Hello!
I am having a problem that I just cannot seem to get around. I have looked through the other posts and found part of my answer but let me go ahead and explain it all. I have a form that has different fields for Open Date, Open Time, Close Date and Close Time. I am trying to do a query for a report that will show the whole time the record was open. I saw a post on the time feature the said to ([CloseTime]-[OpenTime])*24. This query kinda worked but it did not give me an actually time I moved the decimal over 1 so I would get results like 5.7959489. This worked okay for the time but I need something to take in account the Days it was open and also with the days being opend the time as well so If I opened it on 10/24/02 at 1:45pm and Closed it on 10/26/02 at 1:50. My result would only equal 5 mins. I need it to take consideration the days and time. Thank you for any help and sorry so long.
jmthompson
I am having a problem that I just cannot seem to get around. I have looked through the other posts and found part of my answer but let me go ahead and explain it all. I have a form that has different fields for Open Date, Open Time, Close Date and Close Time. I am trying to do a query for a report that will show the whole time the record was open. I saw a post on the time feature the said to ([CloseTime]-[OpenTime])*24. This query kinda worked but it did not give me an actually time I moved the decimal over 1 so I would get results like 5.7959489. This worked okay for the time but I need something to take in account the Days it was open and also with the days being opend the time as well so If I opened it on 10/24/02 at 1:45pm and Closed it on 10/26/02 at 1:50. My result would only equal 5 mins. I need it to take consideration the days and time. Thank you for any help and sorry so long.
jmthompson