Hey guys, having some problems comparing dates. When using the ">" or "<" symbols, the dates are usually compared by what seems like the first 2 digits? In some cases the comparison seems to actually follow no logical pattern what-so-ever. I have figured out how I can sort SQL queries by time, which allows organized "per stop" reports in sequential order from morning to night. Before you can use ASC in your SQL query though, it seems you need to use:<br> Format([YourTimeFrame], "hh:nn"<br><br> Is anyone aware of a better method? It seems that even with this formatting in my code, comparisons like the following still do not work.<br><br>If Format([TimeShouldBeThere], "hh:nn" > Format(Time(), "hh:nn" Then<br>your_late = True<br><br> I appreciate any experiences with this problem shared with me, I'm sure it will be helpful. Thanks!<br> <p>xtreme1<br><a href=mailto:rbio@excite.com>rbio@excite.com</a><br><a href= > </a><br>