this is what i have:
id = request.form("event_id")
//when i response.write the id i currently get a 40 value,
//i concure with the db and the 40th record does exist
Set conn = Server.CreateObject("ADODB.Connection")
conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\path\der.mdb;"
Set rs = conn.Execute("DELETE FROM calender_event WHERE event_id='" & id & "'")
//event_id is a column name in the db with autoNumber,
//long interger with no duplicates set
the error:
Microsoft JET Database Engine error '80040e07'
Data type mismatch in criteria expression.
//with error p[ointing to the sql statement
thanks
id = request.form("event_id")
//when i response.write the id i currently get a 40 value,
//i concure with the db and the 40th record does exist
Set conn = Server.CreateObject("ADODB.Connection")
conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\path\der.mdb;"
Set rs = conn.Execute("DELETE FROM calender_event WHERE event_id='" & id & "'")
//event_id is a column name in the db with autoNumber,
//long interger with no duplicates set
the error:
Microsoft JET Database Engine error '80040e07'
Data type mismatch in criteria expression.
//with error p[ointing to the sql statement
thanks