def hasRows(self):
        "Does the recordset contain any rows?"
        try:
            self.rs.MoveFirst()
        except:
            return False
        return True
Does the recordset contain any rows?
recipes/Python/528868_Extractimanipulaticlass_Microsoft/recipe-528868.py