newline in varchar causing funny behavior?

Поиск
Список
Период
Сортировка
Искать

newline in varchar causing funny behavior?

От:
"Johann" <johann@tygerpos.com>
Дата:
Hello All!

Using VB6 / ODBC.  When there's a varchar containing text and a CRLF, and 
I  try to change that field - even if it's not a key, not indexed, and not 
in any way interesting [other than containing a CRLF] - I get an error 
about how "some of the fields have changed and the record can no longer be 
located.

Any suggestions?

Re: newline in varchar causing funny behavior?

От:
Ludek Finstrle <luf@pzkagis.cz>
Дата:
> Using VB6 / ODBC.  When there's a varchar containing text and a CRLF, and 
> I  try to change that field - even if it's not a key, not indexed, and not 
> in any way interesting [other than containing a CRLF] - I get an error 
> about how "some of the fields have changed and the record can no longer be 
> located.

What PgSQL, psqlodbc version are you using? Are you using ANSI or UNICODE
psqlODBC? What OS?
You wrote too few informations.

Regards,

Luf

Re: newline in varchar causing funny behavior?

От:
Hiroshi Inoue <inoue@tpf.co.jp>
Дата:
Johann wrote:
> Hello All!
> 
> Using VB6 / ODBC.  When there's a varchar containing text and a CRLF, 
> and I  try to change that field - even if it's not a key, not indexed, 
> and not in any way interesting [other than containing a CRLF] - I get an 
> error about how "some of the fields have changed and the record can no 
> longer be located.
> 
> Any suggestions?

Please try to turn off the *LF<->CR/LF conversion* option.

regards,
Hiroshi Inoue
FAQ