190-803 Free Dumps Study Materials
Question 8: The Salary form needs an AuditHistory field. When documents are changed, Sahir's script must record
the date/time, editor's name, and values of all changed fields before and after the change. The solution
must also be usable in other forms, and must work without modification, even if new fields are added to
the forms. How can Sahir do this?
A.Write Entering event code for each field, recording field values. Write Exiting events to update
AuditHistory if the values change.
B.Write Postopen event code to populate a list with item names and item values as the document is
opened. Write Querysave event code to examine current item values, and update AuditHistory for any
changed items.
C.Write onFocus event code to populate a hidden temporary field with the item values. Write onChange
event code to update the AuditHistory if the field is changed.
D.Write onLoad event code to populate a list with item names and item values as the document is opened.
In the form onExit event, write code to examine current item values and update AuditHistory for any items
that have changed.
Correct Answer:B