pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Guillaume Lelarge <guillaume.lelarge@progimed.fr>
Cc: 'pgsql-odbc@postgresql.org' <pgsql-odbc@postgresql.org>
Subject: Re: Problem updating multiline varchar with VB6 and ODBC
Date: Tue, 23 Jul 2002 10:24:25 +0900
Message-ID: <3D3CB049.D160D5BD@tpf.co.jp> (raw)
References: <243D6CC9E43AD311BD3400805F65143755E84E@NT3.progi.loc>

Guillaume Lelarge wrote:
> 
> Hi everyone,
> 
> My postgresql 7.1.3 server is installed on a linux system.
> I use a VB6 app to collect and update datas through ODBC. I use the last
> ODBC driver release (07_01_0010). I think the 07_02_0001 driver is for
> 7.2.x server, but correct me if I am wrong.

7.02.0001 is also available for 7.1 or earlier.

> This code works great... near every time.
> I have problems when one of the column's type is a varchar and when its
> value contains several lines. I can see in the log that the driver
> doesn't find the row to update.

> Does it have to do with LFCR translation?

Maybe.
Could you confirm the server side string (LF or CRLF) ?  

regards,
Hiroshi Inoue
	http://w2422.nsk.ne.jp/~inoue/



view thread (2+ messages)

Message-ID: <3D3CB049.D160D5BD@tpf.co.jp>
Permalink:  ../3D3CB049.D160D5BD@tpf.co.jp/
Also on:    postgresql.org/message-id/3D3CB049.D160D5BD@tpf.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: Inoue@tpf.co.jp, guillaume.lelarge@progimed.fr
  Subject: Re: Problem updating multiline varchar with VB6 and ODBC
  In-Reply-To: <3D3CB049.D160D5BD@tpf.co.jp>
  References: <243D6CC9E43AD311BD3400805F65143755E84E@NT3.progi.loc> <3D3CB049.D160D5BD@tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox