AddItem (maintain the columninfo structure) 

Top  Previous  Next

 

AddItem(filename, fieldname, field, fieldheader, fieldpicture)

AddItem

Adds fields to the columninfo structure so they can be monitored in the audit log file.

filename

A string constant, variable, EQUATE, or expression containing the label of the file that is to be audited.

fieldname

A string constant, variable, EQUATE, or expression containing the label of the field that is to be audited.

field

The fully qualified label for the FILE field.

fieldheader

A string constant, variable, EQUATE, or expression containing the field header (title) field that is to be audited. This is the column header that will appear in the audit log file.

fieldpicture

A string constant, variable, EQUATE, or expression containing the picture of the field that is to be audited. This defines how the column in the audit log file will be formatted.

The AddItem method maintains the ColumnInfo queue by updating it with field information needed to create and update the log file.

Implementation:

This method is called one time for each field that will appear in the log file. There is one extra column that always appears in the log file. This is the action column that defines the update action that occurred to cause the log file update.

See Also:     AddLogFile