Hello,

strLoginErrorMsg needs to be declared at the top of your code file, in the same way that strErrorDescription is.

Does this make sense?

Gary