if your cursor is Forward_Only(least restrictive) then you need to check something else. please let us know what you have written in your cursor,
Please check Cursor Type
and check which type of cursor is best suite in your logic.
hope using proper type you can solve your problem