How can you test if a record set is empty?
Dim temp_rst1 As Recordset Dim temp_rst2 As Recordset Set temp_rst1 = db.OpenRecordset(\"
RecordCount is what you want to use.
If Not temp_rst1.RecordCount > 0 ...