Hi,<br>On my .asp page I'm trying to delete a record from my DB using sql, the SQL goe like this:<br>c.execute "delete * from tblmessage where id='" & request.querystring("message_id" & "'"<br><br>the "id" field is defined as Autonumber and when I run this sql sentem=nce I get the error: "Data type mismatch in criteria expression".<br>If the "id" is not defined as Autonumber it all works fine, <br>Any ideas?<br><br>Thanks<br>Eyal<br>