Comparing screen fields content vs database columns content

Comparing screen fields content vs database columns content

  
Before saving a record to the database, I need to find out which fields have changed in the screen, comparing all of them with the previous query (from "Preparation" ).
How can I go iteratively through the table on the screen and discover which fields have changed? Without writing an IF() explicitly for each field.

TIA

Old but good.. ;)

Maybe this component might help on this...

http://www.outsystems.com/forge/component/1542/diffentitydatatotext/