o.seterror(lcErrorMsg, lnError)
lnError not used.
Passing no parameters clears the error flag and error message properties.