To answer your basic question, you can open a recordset of all the records satisfying your criteria by the code
set rsLate = currentdb.openrecordset(lateStr)
However in addition to the issues raised by the others so far, there is a further problem that your initial lateStr contains a SQL...