Search This Blog

Monday, January 4, 2010

OriginalValue

This property returns the value of a field, that is, the value that from the database. If the value hasn't been changed and saved by the user, it is the original value from the database. If the value has been changed and saved by the user, it is the existing value in the database. This property does not work for derived records. Original values are the database values, and derived records do not have a corresponding database value.

Example

&Orig = &MyField.OriginalValue;

If &Orig = &Date Then

/* do current day processing */

Else

/* do other processing */

End-If;


 

No comments:

Post a Comment

Building Scalable Systems - Handling Hyper-Growth

Hyper-growth is one of the most exhilarating phases for any business, marked by rapid expansion, new opportunities, and an undeniable sense ...