I am looking for a solution for closing select queries returning no records within a database. I have macro which generates change fields after checking various updated tables in order to synchronize different instances of a financial reporting tool. It generates about 75 select queries which then must be closed individually. I am looking for a quicker solution than this method. I want queries containing records to remain open for review.