Código SQL [-] strwhere := 'coalesce(CAMPO1,'')='+ quotedstr( Edit1.Text) + .....
strwhere := 'coalesce(CAMPO1,'')='+ quotedstr( Edit1.Text) + .....