I want to be able to do one action in my VBA code if my SQL SELECT query is NULL and another one if it isn't. To do this, I need know how to test my VBA SELECT code to determine if the SELECT statement is NULL. The code I want to test is:
SQL1 = "Select ID"
SQL1 = SQL1 + " FROM MyTable"
SQL1 = SQL1 + " Where ((MyTable.FirstSurvey <> Yes))"
CurrentDb.OpenRecordset SQL1
Steve
SQL1 = "Select ID"
SQL1 = SQL1 + " FROM MyTable"
SQL1 = SQL1 + " Where ((MyTable.FirstSurvey <> Yes))"
CurrentDb.OpenRecordset SQL1
Steve