bmwmpower
04-16-2003, 02:23 PM
i have this error when i make delete for record
Error Type:
ADODB.Recordset (0x800A0E78)
Operation is not allowed when the object is closed.
/test/sample.asp, line 490
=============================
this is the code for delete
If Not IsEmpty(Request("Delete")) Then
If Not IsEmpty(Request("DeleteLog")) Then
SQL ="DELETE FROM report "
For each item in Request("DeleteLog")
blnWhere = True 'Set where to true
sql = sql & "WHERE "
SQL = sql & "ID= " & item
Next
End If
End If
============================================
ok i will upload the file to tell me where the error
Error Type:
ADODB.Recordset (0x800A0E78)
Operation is not allowed when the object is closed.
/test/sample.asp, line 490
=============================
this is the code for delete
If Not IsEmpty(Request("Delete")) Then
If Not IsEmpty(Request("DeleteLog")) Then
SQL ="DELETE FROM report "
For each item in Request("DeleteLog")
blnWhere = True 'Set where to true
sql = sql & "WHERE "
SQL = sql & "ID= " & item
Next
End If
End If
============================================
ok i will upload the file to tell me where the error