X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 2AE92D1B570 for ; Wed, 29 Oct 2003 16:45:47 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 55725-03 for ; Wed, 29 Oct 2003 12:45:16 -0400 (AST) Received: from ecintweb.eldocomp.com (ecintweb.eldocomp.com [205.159.99.8]) by svr1.postgresql.org (Postfix) with ESMTP id 110C1D1B4E6 for ; Wed, 29 Oct 2003 12:45:14 -0400 (AST) Received: by ecintweb.eldocomp.com with XWall v3.28 ; Wed, 29 Oct 2003 09:44:53 -0700 From: Andrew Ayers To: Brian Huber Cc: "pgsql-odbc@postgresql.org" Subject: Re: "Invalid cursor position" error when using recordsetsand text fields Date: Wed, 29 Oct 2003 09:44:43 -0700 X-Assembled-By: XWall v3.28 Message-ID: <3F9FEE7B.5040808@eldocomp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/88 X-Sequence-Number: 3401 Brian Huber wrote: > I'm using recordsets in VB to through psqlODBC > 7.3.100 and am receiving "invalid cursor position" > when trying to retrieve the value of text fields. I > do not get this problem when retrieving numeric > fields. You don't say how you are accessing the tables, etc: * DAO (version?) * ADO (version?) * Straight SQL (unlikely, given your problem) * Something else... Likely it is one of the first two (DAO or ADO). I can tell you that I=20 was experiencing that problem in a conversion of an application from=20 Access 97 to PG (using the ODBC drivers). At the time, my application=20 was using DAO, and I was running into all sorts of funky problems.=20 Switching to ADO solved the vast majority. If I had to do it all over=20 again, though - I think I would have gone for straight SQL updates. Look through both the ODBC and GENERAL list archives - my posts and such=20 will be in there from earlier this year. Andrew Ayers Phoenix, Arizona -- CONFIDENTIALITY NOTICE -- This message is intended for the sole use of the individual and entity to w= hom it is addressed, and may contain information that is privileged, confid= ential and exempt from disclosure under applicable law. If you are not the = intended addressee, nor authorized to receive for the intended addressee, y= ou are hereby notified that you may not use, copy, disclose or distribute t= o anyone the message or any information contained in the message. If you ha= ve received this message in error, please immediately advise the sender by = reply email, and delete the message. Thank you.