therayster
MIS
I have a recordset that imports several fields from a table including a date/time value based on when the record was entered. The query that does this includes an ORDER BY clause for the date/time. What I want to do is then loop through the recordset and look for the time gaps between the record entries. Technically it's working (it runs without error and gives me values) but when I dump the actual calculations out to a file I don't think it's actually going lowest date/time value to next lowest date/time value. I think I'm missing some records and the ones I do have don't always go in consecutive order. How can I ensure that I fetch records lowest value to next lowest value, based a a field?