Perché la prima non la esegui.
Sposta l'end if prima di set strREC ...

Roby