pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
"Invalid cursor position" error when using recordsets and text fields
6+ messages / 4 participants
[nested] [flat]

* "Invalid cursor position" error when using recordsets and text fields
@ 2003-10-28 23:47  Brian Huber <brianghuber@yahoo.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Brian Huber @ 2003-10-28 23:47 UTC (permalink / raw)
  To: pgsql-odbc

Hello all - 

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.

Anyone seen this one before?? Any suggestions greatly
appreciated!

TIA,

BGH



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* "Invalid cursor position" error when using recordsets and text fields
@ 2003-10-29 00:15  Brian Huber <brianghuber@yahoo.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Brian Huber @ 2003-10-29 00:15 UTC (permalink / raw)
  To: pgsql-odbc

Hello all - 

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.

Anyone seen this one before?? Any suggestions greatly
appreciated!

TIA,

BGH




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: "Invalid cursor position" error when using recordsetsand text fields
@ 2003-10-29 16:44  Andrew Ayers <aayers@eldocomp.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Andrew Ayers @ 2003-10-29 16:44 UTC (permalink / raw)
  To: Brian Huber <brianghuber@yahoo.com>; +Cc: pgsql-odbc

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.



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: "Invalid cursor position" error when using recordsets and
@ 2003-10-30 00:37  Hiroshi Inoue <Inoue@tpf.co.jp>
  parent: Brian Huber <brianghuber@yahoo.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Hiroshi Inoue @ 2003-10-30 00:37 UTC (permalink / raw)
  To: Brian Huber <brianghuber@yahoo.com>; +Cc: pgsql-odbc

Brian Huber wrote:
> 
> Hello all -
> 
> 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.
> 
> Anyone seen this one before?? Any suggestions greatly
> appreciated!

Could you try the version 7.3.0200 ?

regards,
Hiroshi Inoue
	http://www.geocities.jp/inocchichichi/psqlodbc/



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: "Invalid cursor position" error when using recordsetsand text fields
@ 2003-11-02 22:24  Brian G. Huber <brianghuber@yahoo.com>
  parent: Andrew Ayers <aayers@eldocomp.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Brian G. Huber @ 2003-11-02 22:24 UTC (permalink / raw)
  To: Andrew Ayers <aayers@eldocomp.com>; +Cc: pgsql-odbc

Thanks Andrew - yes it is a legacy app using DAO.  We are porting to
Java/JDBC.  In the interim we switched the field to varchar from text.
----- Original Message ----- 
From: "Andrew Ayers" <aayers@eldocomp.com>
To: "Brian Huber" <brianghuber@yahoo.com>
Cc: <pgsql-odbc@postgresql.org>
Sent: Wednesday, October 29, 2003 10:44 AM
Subject: Re: [ODBC] "Invalid cursor position" error when using recordsetsand
text fields


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.

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: "Invalid cursor position" error when using recordsets and
@ 2003-11-02 22:28  Brian G. Huber <brianghuber@yahoo.com>
  parent: Hiroshi Inoue <Inoue@tpf.co.jp>
  0 siblings, 0 replies; 6+ messages in thread

From: Brian G. Huber @ 2003-11-02 22:28 UTC (permalink / raw)
  To: Hiroshi Inoue <Inoue@tpf.co.jp>; +Cc: pgsql-odbc

Thanks Hiroshi - we are switching to JDBC but I will try 7.3.0200 and let
you know if it fixes the problem.
----- Original Message ----- 
From: "Hiroshi Inoue" <Inoue@tpf.co.jp>
To: "Brian Huber" <brianghuber@yahoo.com>
Cc: <pgsql-odbc@postgresql.org>
Sent: Wednesday, October 29, 2003 6:37 PM
Subject: Re: [ODBC] "Invalid cursor position" error when using recordsets
and


> Brian Huber wrote:
> >
> > Hello all -
> >
> > 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.
> >
> > Anyone seen this one before?? Any suggestions greatly
> > appreciated!
>
> Could you try the version 7.3.0200 ?
>
> regards,
> Hiroshi Inoue
> http://www.geocities.jp/inocchichichi/psqlodbc/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to
majordomo@postgresql.org)end "unregister YourEmailAddressHere" to
majordomo@postgresql.org)




^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2003-11-02 22:28 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-10-28 23:47 "Invalid cursor position" error when using recordsets and text fields Brian Huber <brianghuber@yahoo.com>
2003-10-29 00:15 "Invalid cursor position" error when using recordsets and text fields Brian Huber <brianghuber@yahoo.com>
2003-10-30 00:37 ` Re: "Invalid cursor position" error when using recordsets and Hiroshi Inoue <Inoue@tpf.co.jp>
2003-11-02 22:28   ` Re: "Invalid cursor position" error when using recordsets and Brian G. Huber <brianghuber@yahoo.com>
2003-10-29 16:44 Re: "Invalid cursor position" error when using recordsetsand text fields Andrew Ayers <aayers@eldocomp.com>
2003-11-02 22:24 ` Re: "Invalid cursor position" error when using recordsetsand text fields Brian G. Huber <brianghuber@yahoo.com>

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