Here are examples of code you can use in your applications:
Audit Log
Audit Log Code: Collection of code for creating an Audit Log as described in the blog post Audit Logging
Subroutine: Code to write a line to the Audit Log table
Load Table: Code to call the subroutine when loading data into the application
Conditional Statement Variable: Code to call the subroutine when saving the result of a conditional function or variable value
Store Audit Log: Code to store the Audit Log table into a QVD file