1. Clarence Chamorro
  2. PowerBuilder
  3. Sunday, 21 January 2024 13:56 PM UTC

According to the 2022 PB documentation GetUpdateStatus is obsolete and will be discontinued in a future release.

Then how do I get the update status of a datawindow before updating it?

Documentation of PB 2022 says to use DBError and SQLPreview events but it is not so clear what to look for in those event.

Also DBError will happens after the Update is execute and the SQLPreview will happens just before the Update execute.

I want to find out the update status of the datawindow before updating it. Like in a click event of a button.

Any advise will be greatly appreciate.

Regards,

Clarence

mike S Accepted Answer Pending Moderation
  1. Sunday, 21 January 2024 17:11 PM UTC
  2. PowerBuilder
  3. # 1
Comment
  1. Clarence Chamorro
  2. Sunday, 21 January 2024 17:27 PM UTC
Mike S. Thank you for replaying to my question.

My apologies.

I found my solution.



I should use GetItemStatus(row, col,buffer). I thought this function was only for columns.



Regards,



Clarence.
  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.