Already beyond the end of the result set (Error 40024)

You attempted to call rdoResultset.MoveNext when the EOF property was set to True.

To avoid this error, check the state of the EOF property before calling MoveNext.