Re: ODBC escape convert error

From: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
To: Richard Broersma <richard(dot)broersma(at)gmail(dot)com>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: ODBC escape convert error
Date: 2008-06-11 18:49:21
Message-ID: 48501E31.5030107@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Richard Broersma wrote:
> I've attached a log file with the code for a prepared insert command.
> However, when it is executed, I am getting the error:
>
> ODBC escape convert error.
>
> It looks like the query never makes it to the sever becuase I don't
> see any statement logged for it. Does anyone have any ideas?

You may have to replace '{' (ODBC escape) by '(' in the line.

.CommandText = .CommandText & " WHERE { T.instrumentcode,
T.instrumentsuff, T.area, T.loopnbr ) IS NULL;

regards,
Hiroshi Inoue

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Richard Broersma 2008-06-11 19:07:31 Re: [ODBC] what gives: SELECT INVALID SELECT STATEMENT TO FORCE ODBC DRIVER TO UNPREPARED STATE
Previous Message Fred Parkinson 2008-06-11 18:37:49 Access query as executed by postgres