Wrong data type for argument <argument name> in event handler <event handler name>

You specified a procedure as the handler in an On Event statement. The declareddata type of a parameter inthe definition of that procedure does not match the data type of the corresponding parameter specified when the event was registered with LotusScript®.

Refer to the documentation of the product in which you are running LotusScript® for information about the arguments that the event handler requires. Change the declared data type of the parameter in the subprogram definition to match the registered data type of the corresponding parameter.