Thanks for your help. I put the "'" after the string, but still get the error.
Using msgbox to check the string (which correctly populates a different form), I get the attached string before I trim it, using
strsql = right (strsql, len(strsql)-33) - this leaves me [NATURE] = 'hover'...