No current row (Error 40009).
You attempted to edit, delete or perform some other operation when the current row pointer was not positioned over a valid row. This can occur when:
-
All rows of a result set are deleted.
-
There are no rows in a result set.
-
One or more rows' bookmarks are made invalid.