1. Utkarsh Pandya
  2. PowerBuilder
  3. Wednesday, 15 September 2021 12:09 PM UTC

Hello All,

 

I am using a crosstab datawindow which is retrieveing columns more then 300 and so a validation is coming. Can someone please tell how can i capture the validation and set my custom messsage to the user 

 

Thanks and Regards

Arnd Schmidt Accepted Answer Pending Moderation
  1. Friday, 17 September 2021 09:32 AM UTC
  2. PowerBuilder
  3. # 1

It's a warning, not an error ;-)

Which function/event or assignment causes the warning?

 

 

Comment
  1. Chris Pollach @Appeon
  2. Friday, 17 September 2021 14:49 PM UTC
Hi Arnd;

While the message is a warning, this is really an error!

@Utkarsh ... Thank you for opening ticket # 7267 on this issue.

Regards ... Chris
  1. Helpful
  1. Arnd Schmidt
  2. Friday, 17 September 2021 15:22 PM UTC
.. another PowerBuilder bug ;-)
  1. Helpful
  1. Chris Pollach @Appeon
  2. Friday, 17 September 2021 16:32 PM UTC
More like an old Sybase "inconsistency". ;-)
  1. Helpful
There are no comments made yet.
Utkarsh Pandya Accepted Answer Pending Moderation
  1. Thursday, 16 September 2021 04:21 AM UTC
  2. PowerBuilder
  3. # 2

Hello Chris,

 

Yes, I already tried the error event for datawindow i also tried the db error event but am still unable to capture the validation

 

Thanks,

Comment
  1. Chris Pollach @Appeon
  2. Thursday, 16 September 2021 14:24 PM UTC
The PBVM should fire the ERROR event on the DW Control or DataStore IMHO. I suspect that this is a left over behaviour from the old SAP/Sybase versions of PB. PB shouyd never present a message to the App User. The App should always control the presentation, logging, etc of any messages. Especially, if encountered in production!

I would suggest opening a Support Ticket for this issue so that Appeon Engineering can get this behaviour fixed.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 15 September 2021 14:32 PM UTC
  2. PowerBuilder
  3. # 3

Hi Utkarsh;

  Did you try trapping this error in the DW Control's ERROR event?

Regards ... Chris

Comment
  1. Olan Knight
  2. Wednesday, 15 September 2021 14:47 PM UTC
Also check in the Transaction object's DBERROR event.
  1. Helpful
  1. Utkarsh Pandya
  2. Thursday, 16 September 2021 04:23 AM UTC
The Dberror is also not able to capture the validation
  1. Helpful
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.