Microsoft SQL Native Client error '80040e14'

Incorrect syntax near the keyword 'and'.

/responsesupplier.asp, line 171