Re: Unable to update JOIN'ed recordset with PSQLODBC 08.02.0400 and ADO

From: "m(dot)wetmore(at)secomintl(dot)com" <m(dot)wetmore(at)secomintl(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Unable to update JOIN'ed recordset with PSQLODBC 08.02.0400 and ADO
Date: 2007-10-07 03:24:52
Message-ID: 47085184.6000509@secomintl.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi, new to this list, but may have an insight. Off-chance you're using
PostgresDAC ver. > 2.3.5?

DAC by default returns a read only data set. This was added to DAC in
2.3.5.

Apparently, we developers are not allowed to control this on app.side
anymore.

We've been using ( Delphi7/Dac2.3.3/8.0.2 w/SSL )and never had an issue.
(300+ prod. servers out there)

So we make the plunge to develop on Vista (too bad !bash can't do this
all!) and needed to update DAC.

We compile fine, sign into the db, read datasets, but cannot edit the
data in our app.

with over 200 custom libpq c functions and 400+ delphi objects...we're
in for a long overhaul.

Sorry for the possible cross post, but wanted to throw it out there jic.

/matthew - $m(dot)wetmore(at)secomintl(dot)com$

"Dmitry Samokhin" <sdld ( at ) mail ( dot ) ru> wrote in message
news:f8plbo$2j47$1 ( at ) news ( dot ) hub ( dot ) org ( dot ) ( dot ) (
dot )

In the following environment:

WinXP SP2 + ADO + MS OLE DB Provider for ODBC drivers + PSQLODBC ANSI
08.02.0400 I'm unable to update a recordset of JOIN'ed tables. The
method 'rs("colname") = <new value>' started to fail with 08.02.0400,
but it works fine with 08.02.0200. Something wrong with tables and
columns metadata ADO gets from the driver, I suppose. My test suite
included. Please note only columns from table t1 are loaded into the
recordset, JOIN is used just for sorting rows.

Test suite:

Browse pgsql-odbc by date

  From Date Subject
Next Message Relyea, Mike 2007-10-08 13:00:07 Re: Out of memory error
Previous Message Obe, Regina 2007-10-03 13:15:10 Re: Filtering ODBC table list