1. Igor Perisic
  2. PowerBuilder
  3. Wednesday, 15 November 2023 18:39 PM UTC

Just want to see what the error is when calling an update

Roland Smith Accepted Answer Pending Moderation
  1. Wednesday, 15 November 2023 20:06 PM UTC
  2. PowerBuilder
  3. # 1

The dberror event on the DataWindow control or DataStore object will be triggered. Recent versions have a dberror event on the transaction object.

You could add any line of code and put a debug stop on it. Better yet add code to record to an error log and display the error in a window or MessageBox.

The dberror event is triggered even if the DW/DS dberror event has code so don't try to display/record in both places.

The error code and description are passed as arguments to the dberror event.

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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.