1. Haihong Yang
  2. PowerBuilder
  3. Tuesday, 13 February 2018 22:55 PM UTC

Hi,

For my existing issue, I try to use try-catch statement to trap the error. When I debug, the cursor stop at the function ClosewithReturn and will not go further. Following is the code.   

 

 

Hi,

After upgrade to PB2017, one of the window always crash after calling CloseWithReturn function to close the window. When I trace, I get following error from Event viewer 

Anybody have idea?

 

Thanks

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 16 February 2018 17:22 PM UTC
  2. PowerBuilder
  3. # 1

Hi Haihong;

    I am not surprised that this window crashes as your issuing a Close within the CloseQuery event. Which will in fact, fire the CloseQuery again - which will then issue another Close that will fire the CloseQuery event again - and so on, and so on ...

  The proper way would be to set the Message.PowerObjectParm = str_return_winargs and just let the CloseQuery event complete normally via a Return 0.

HTH

Regards ... Chris

 

Comment
There are no comments made yet.
Govinda Lopez @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 14 February 2018 00:11 AM UTC
  2. PowerBuilder
  3. # 2

Hi Haihong Yang,

 

This might seem to do with your Oracle Connection. But we recommend opening a support ticket and submitting your test case to Appeon Support so we can help you better on this.

 

 

Regards,

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.