I remember I had similar problems, but I have not remember the solution - it was three-four years ago. If you send me the forms and PRGs I could try to help you. (forms should start without pre-loaded cursors otherwise I will need all preceding code that needs to be run)
Venelina Jordanova
Outsourcing IT Services Ltd.