> > If Not objRS.BOF And objRS.EOF Then > try > if not(objRS.BOF And objRS.EOF) then Or "if not objRS.BOF and not objRS.EOF then". The others have got it right -- you need to negate BOTH conditions here to seuccessfully check for an empty recordset. Right now you're just confusing the poor server. :) HTH! --Ken