Event handler must be a LotusScript® SUB or FUNCTION: <handler name>

The handler name specified in an On Event statement is not the name of a LotusScript® sub or function. An event handler may not be an external (C) function or a product object method.