Powerbuilder : How to compare the old value and new value of a column in data window
Posted
by Archangel
on Stack Overflow
See other posts from Stack Overflow
or by Archangel
Published on 2010-06-15T05:12:14Z
Indexed on
2010/06/15
5:12 UTC
Read the original article
Hit count: 343
powerbuilder
|datawindow
Suppose I have a datawindow object which is attached to a datawindow control named 'dw_detail". This object uses grid presentation style and has a database column named 'found'. Now when a user modifies that column's value, I want to compare it with the original value that was fetched from the database. I know I can access the value of that column as 'dw_detail.object.found[row_no]'. Now I am trying to access the original value of the column as 'dw_detail.object.found.original[row_no]', but it is not working. It is not giving any compiling error, but when I debugged, 'dw_detail.object.found.original[row_no]' contains no values.
How can I access the original value of that column?
© Stack Overflow or respective owner