X-Original-To: pgsql-odbc@postgresql.org Received: from web13804.mail.yahoo.com (web13804.mail.yahoo.com [216.136.175.14]) by postgresql.org (Postfix) with SMTP id F19AD475FC6 for ; Wed, 5 Mar 2003 10:28:30 -0500 (EST) Message-ID: <20030305152835.24555.qmail@web13804.mail.yahoo.com> Received: from [216.173.173.66] by web13804.mail.yahoo.com via HTTP; Wed, 05 Mar 2003 07:28:35 PST Date: Wed, 5 Mar 2003 07:28:35 -0800 (PST) From: Chris Gamache Reply-To: cgg007@yahoo.com Subject: Re: Row Level out of range on 07.02.0005 To: pgsql-odbc@postgresql.org In-Reply-To: <20030305051400.77218.qmail@web41107.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200303/12 X-Sequence-Number: 2731 I don't use rs.update simply because I find accessing the database with conn.execute ("UPDATE table SET field=value;") yields more predictable results. I'm also ONLY dealing with PostgreSQL, so I can optimize my SQL statements specifically for PostgreSQL. However, if I wanted to use rs.update I might try fiddling around with the settings for "Use Declare/Fetch", and "UPDATABLE CURSORS". Couldn't hurt, right? CG --- Muhammad Shariq Muzaffar wrote: > hi > we are currently using pgsql 7.3.1 on Redhat linux > 8.0, and we are developing interface using VB 6.0 on > windows 2000/XP. > > We are having a problem using the latest psqlodbc i.e. > ver 07.02.0005. When ever we try to update a record > using '.update' command of the ADO recordset, ODBC > gives us an error of 'ROW VALUE OUT OF RANGE' but when > we use an older version of psqlodbc i.e. ver > 07.01.0009, it runs smoothly. > > We are using dynamic type of recordsets. Is it an > error, bug or do we have to install some other patch > or something. > > __________________________________________________ > Do You Yahoo!? > Everything you'll ever need on one web page > from News and Sport to Email and Music Charts > http://uk.my.yahoo.com > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/