pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Ayers <aayers@eldocomp.com>
To: Brian Huber <brianghuber@yahoo.com>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: "Invalid cursor position" error when using recordsetsand text fields
Date: Wed, 29 Oct 2003 09:44:43 -0700
Message-ID: <3F9FEE7B.5040808@eldocomp.com> (raw)

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 
was experiencing that problem in a conversion of an application from 
Access 97 to PG (using the ODBC drivers). At the time, my application 
was using DAO, and I was running into all sorts of funky problems. 
Switching to ADO solved the vast majority. If I had to do it all over 
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 
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 whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email, and delete the message. Thank you.



view thread (6+ messages)  latest in thread

Message-ID: <3F9FEE7B.5040808@eldocomp.com>
Permalink:  ../3F9FEE7B.5040808@eldocomp.com/
Also on:    postgresql.org/message-id/3F9FEE7B.5040808@eldocomp.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: aayers@eldocomp.com, brianghuber@yahoo.com
  Subject: Re: "Invalid cursor position" error when using recordsetsand text fields
  In-Reply-To: <3F9FEE7B.5040808@eldocomp.com>
  References: <3F9FEE7B.5040808@eldocomp.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox