What is the best method to check if a certain field has been changed? In a Purchase Order database, sometimes the amount is changed if the specs change. If this happens our accounting department needs to be made aware of the change. So, I'm looking for a way to compare before and after values of the amount field and then performing various actions if the value has changed.
Say the field you want to track is called Amount. Use a Computed for Display field with formula:
@If(@IsDocBeingLoaded; Amount; @ThisValue). Write code in the Postsave event that compares the original value with the new value, and generate e-mail notices or whatever to let people know.
Do you have comments on this Ask the Expert Q&A? Let us know.
Dig Deeper on Lotus Notes Domino Formula Language
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.