SQLExtendedFetch is fetching an extra row

I have been trying to figure out what is wrong with my code, unfortunately i cannot share it, when i use the SQLExtendedFetch statement to fetch a batch of 5 rows from the result set which should contain only 5 rows, it fetches the first batch of 5 rows and in the next fetch call it fetches another row which is a duplicate of the first row fetched in the first batch. can anyone tell me how to go about solving this issue? it is causing a lot of problems in the long run.
Topic archived. No new replies allowed.