In the following example, the BeforePF event sets a user-defined calculated string field in the report’s footer. It uses the VBA Time and Date functions to compose a comment on the report:
Private Sub Report_BeforePF(SuppressBand As Boolean) Comment = UserInfoGet.UserID + " printed this at " + str(Time) + _ " on " + str(Date) End Sub