You could convert that integer to a time value like this:
CDate(Format([MyInteger], "00\:00\:00"))
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
<Mo*********@gmail.comwrote in message
news:11**********************@f16g2000cwb.googlegr oups.com...
Hi,
I am writing an SQL query in which I need to compare two fields which
are both storing time information. The datatype of the first field is
Date/Time and the format is HH:MM. The second field is stored as an
integer formated as HHMMSS. I'm kind of lost here. Any help you could
give me would be greatly appreciated.