On my vb6 project, I used res = cmd("result")
res = cmd("result")
If res = 1 Then
MsgBox "Data updated", vbInformation
End If
to check if the record is successfully updated on the database. but how can I do this on delete query?
I tried using not rs.bof and rs.eof but it gives me error (OPERATION IS NOT ALLOWED WHEN THE OBJECT IS CLOSED)
res = cmd("result")
If res = 1 Then
MsgBox "Data updated", vbInformation
End If
to check if the record is successfully updated on the database. but how can I do this on delete query?
I tried using not rs.bof and rs.eof but it gives me error (OPERATION IS NOT ALLOWED WHEN THE OBJECT IS CLOSED)