pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: 'LaBranche, Kevin' <klabranche@co.coconino.az.us>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Insert fails from VB only when table is empty...?
Date: Sat, 29 Mar 2003 12:46:39 +0900
Message-ID: <002d01c2f5a5$ce890390$0e283ddb@PbgX> (raw)
In-Reply-To: <2A0342ED68CDD41191EF00034708357CB7DC33@KACHINA>

How do you open the recordset ?
 
regards,
Hiroshi Inoue

-----Original Message-----
From: LaBranche, Kevin


I am brand new to pgsql... :-)  I have a VB program inserting records
into a fairly simple table (without a PK) and I notice that when the
table is empty I get a "row out of range" error.  This only happens when
the table is empty.  If I insert a record from psql then run the program
everything is fine.  Any ideas as to what may be wrong?

 

I am using ADO to connect and recordset.addnew / recordset.update to
insert records.

 

Thanks,

Kevin

 

 

view thread (2+ messages)

Message-ID: <002d01c2f5a5$ce890390$0e283ddb@PbgX>
Permalink:  ../002d01c2f5a5$ce890390$0e283ddb@PbgX/
Also on:    postgresql.org/message-id/002d01c2f5a5$ce890390$0e283ddb@PbgX

 · 

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: inoue@tpf.co.jp, klabranche@co.coconino.az.us
  Subject: Re: Insert fails from VB only when table is empty...?
  In-Reply-To: <002d01c2f5a5$ce890390$0e283ddb@PbgX>
  References: <2A0342ED68CDD41191EF00034708357CB7DC33@KACHINA> <002d01c2f5a5$ce890390$0e283ddb@PbgX>

* 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