hi,
i think your error is caused because you are not telling it what fields to delete. The SQL should be this:
Code:
strquerystring1 = " DELETE * FROM Hunt_Registration WHERE Hunt_Registration.Hunt_Id = " & strDel_Hunt_Id & " "
set recordsetDB = dbconn.execute(strquerystring1)
But instead of this complete sql just add this line instead:
Code:
strquerystring1 = " Select * FROM Hunt_Registration WHERE Hunt_Registration.Hunt_Id = " & strDel_Hunt_Id & " "
set recordsetDB = dbconn.execute(strquerystring1)
recordsetDB.delete
hope this helps
Bookmarks