D
David S
Here is my problem and scenairo: I have used access to link to a sql
database table in hopes to do some response and average time
queries/calculations. What I soon discovered was there was a only one date
field for storing the date as a date/time, and three separate field for
storing times (received,dispatched, arrived.) However the times are being
stored as text (at least this is how Access in interpeted the fields when I
made my link.) Of course, I have no control over how the values are being
stored in the sql database. What I would like to do first is simply see the
elapse time between two times in a time format of 1.6 or 1.7 or .5 minutes.
(Taking in considerations the midnight switch. I have only a single date).
I then would like to be able to perform some averaging to see what my various
response times are. Also, having it displayed/formated as aforemention.
I have used the datediff function and have been able to get some results in
the format I want except I don't know how to handle the negative
values(results from the midnight changeover.) I am using the below in a
query
Result: DateDiff("s",[rcvtime],[cleartime])/60
But because of data types and how I would like it displayed I cannot manage
the averaging.
I hope I have provided enough information and that it makes sense. Any help
would be appreciated.
Thanks,
David Shertzer
(e-mail address removed)
database table in hopes to do some response and average time
queries/calculations. What I soon discovered was there was a only one date
field for storing the date as a date/time, and three separate field for
storing times (received,dispatched, arrived.) However the times are being
stored as text (at least this is how Access in interpeted the fields when I
made my link.) Of course, I have no control over how the values are being
stored in the sql database. What I would like to do first is simply see the
elapse time between two times in a time format of 1.6 or 1.7 or .5 minutes.
(Taking in considerations the midnight switch. I have only a single date).
I then would like to be able to perform some averaging to see what my various
response times are. Also, having it displayed/formated as aforemention.
I have used the datediff function and have been able to get some results in
the format I want except I don't know how to handle the negative
values(results from the midnight changeover.) I am using the below in a
query
Result: DateDiff("s",[rcvtime],[cleartime])/60
But because of data types and how I would like it displayed I cannot manage
the averaging.
I hope I have provided enough information and that it makes sense. Any help
would be appreciated.
Thanks,
David Shertzer
(e-mail address removed)