Salve ragazzi ho un problema con una transazione
questo e' il codice:
codice:
On Error Resume Next
lweb2kdb.BeginTrans
If lweb2kdb.Errors.Count > 0 Then
lweb2kdb.RollBackTrans
%>
<tr>
<td> Errore durante l' aggiornamento</td>
</tr>
<%
Else
lweb2kdb.CommitTrans
'ESEGUO LE MIE QUERY
%>
<tr>
<td> Operazione Effettuata</td>
</tr>
<%
end if
' CHIUDO TUTTO
rs4.Close
set rs4=Nothing
rs1.Close
set rs1=Nothing
%>
L' inserimento nel db lo fa, ma se commento l' On Error Resume Next
mi da questo errore:
ADODB.Recordset error '800a0e78'
Operation is not allowed when the object is closed.
?????