Microsoft VBScript runtime error '800a000d'

Type mismatch: '[string: " TO "]'

/consulta.asp, line 150