pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: LaBranche, Kevin <klabranche@co.coconino.az.us>
To: 'pgsql-odbc@postgresql.org' <pgsql-odbc@postgresql.org>
Subject: Insert fails from VB only when table is empty...?
Date: Fri, 28 Mar 2003 13:45:06 -0700
Message-ID: <2A0342ED68CDD41191EF00034708357CB7DC33@KACHINA> (raw)

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)  latest in thread

Message-ID: <2A0342ED68CDD41191EF00034708357CB7DC33@KACHINA>
Permalink:  ../2A0342ED68CDD41191EF00034708357CB7DC33@KACHINA/
Also on:    postgresql.org/message-id/2A0342ED68CDD41191EF00034708357CB7DC33@KACHINA

 · 

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: klabranche@co.coconino.az.us
  Subject: Re: Insert fails from VB only when table is empty...?
  In-Reply-To: <2A0342ED68CDD41191EF00034708357CB7DC33@KACHINA>
  References: <2A0342ED68CDD41191EF00034708357CB7DC33@KACHINA>

* 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