learn
asked on
Correct the code from a book
following is the code I copied from a book. I think it is not correct!
If you think so, tell me how to correct it.
With Adodc1.Recordset
.Delete
If Not .EOF Then
.MoveNext
Else
.MoveLast
End If
End With
If you think so, tell me how to correct it.
With Adodc1.Recordset
.Delete
If Not .EOF Then
.MoveNext
Else
.MoveLast
End If
End With
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yes, it works.
With Adodc1.Recordset
.Delete
.MoveNext
If .EOF then
.MovePrevious
End If
End With