Text as LongVarChar ? - Mailing list pgsql-odbc

From Cedar Cox
Subject Text as LongVarChar ?
Date
Msg-id Pine.LNX.4.21.0108161333290.13243-100000@nanu.visionforisrael.com
Whole thread Raw
List pgsql-odbc
Ok, I've finally had my run in with 'Text as LongVarChar'.  Actually, I
did months ago and wrote it off as strange Access behavior.  What happens
is I open a recordset (ODBCDirect w/ dbExecDirect option) and the text
fields from the query are only good for one read.  This one read include
everything, such as watches and those little popups in the code view.
For example, the control that is normally populated from this recordset
will come up empty if you have a watch on 'rst!textfield', because the
watch reads the recordset first.  This only happens with the text fields.
The other numeric fields from the same rst work fine.  Now, surprise, I
unchecked 'Text as LongVarChar' and these text fields behave just like the
others.  The strange thing is that if you open the recordset with the
dbOpenSnapshot option, it works, regardless of 'Text as LongVarChar'. Can
someone explain this?  Is it actually Access strangeness?

(After writing this I looked and found that I have driver version
7.01.0003)..

-Cedar



pgsql-odbc by date:

Previous
From: "Arnaud ESPANEL"
Date:
Subject: Re: Postgresql 7.1.2 and StarOffice 5.2
Next
From: "Arnaud ESPANEL"
Date:
Subject: Re: Postgresql 7.1.2 and StarOffice 5.2