i tried this on the odbc commands and it got problem ...

exec sp_executesql N'SELECT "pk" FROM "dbo"."m_clients" WHERE id = @P1 AND closing_status = @P2 AND calc_status = @P3 AND...