Thanks Marcel, that fixed that error. Now I'm getting the error:

'pValidator' undeclared (first use this function)

?????
Help again.