Description: This function checks for incorrect and/or out of order timestamps in a specified .DAT file and replaces or corrects them as appropriate.
Returns: Nothing
Usage: Script
Format: ValidateHistory(FileName)
Parameters: FileName { text } { required } { no default: }
The name of a .DAT file produced by the Save statement.
Comments: ValidateHistory runs through the specified .DAT file, checks for incorrect and/or out of order timestamps, and replaces or corrects them as appropriate. ValidateHistory should not be called on a file that is currently opened by a Save statement.
ValidateHistory returns a value of "0" or "1" or greater. If "0" is returned, the specified .DAT file either does not exist, or did not require an update of its timestamps. If "1" or greater is returned, the number returned indicates the number of timestamps that were updated.
See Also: