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
My apologies.
I found my solution.
I should use GetItemStatus(row, col,buffer). I thought this function was only for columns.
Regards,
Clarence.