I'm not sure exactly what you did to resolve this issue, but in general an error like this means that the recordset has not been filtered properly as intended. If the recordset is empty or defined below the portion of the page that makes use of it you will get an error like this.