ORA-01002: fetch out of sequence – Forms 6i.

Tags:
Oracle Forms 6i

Hello,

 

I am using a multi - DB block in my forms 6i and everytime I run a execute_query statement, it does not returns all the rows, rather I am getting ORA-01002: fetch out of sequence error.

I tried looking in the web and most of the places they said not to write COMMIT if using FOR UPDATE.but I haven't written a For Update or Commit anywhere.

My code is very simple


set_block_property('FOURNITURES',default_where,'metier=:global.metier and sitegeo=:global.sitegeo and cptdossier=:global.zonecptdossier and numligne=:Global.zonenumligne');
Go_Block('FOURNITURES');
Execute_Query;


It should return 7 rows, but only returns 5 and when I press shift + F1 it shows this error ORA-01002: fetch out of sequence. (also the query is correct and returns 7 rows when I run it from Toad)



I will be really glad if someone can provide some help on this.


Regards,

Pari.

ASKED: December 12, 2013  4:04 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following