X-Original-To: pgsql-odbc@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id AD68A47633C for ; Fri, 28 Mar 2003 15:45:04 -0500 (EST) Received: from kachina.summitlan (COCO-Mail.InfoMagic.NET [63.229.93.30]) by postgresql.org (Postfix) with ESMTP id C648B47633A for ; Fri, 28 Mar 2003 15:45:03 -0500 (EST) Received: by KACHINA with Internet Mail Service (5.5.2653.19) id ; Fri, 28 Mar 2003 13:45:06 -0700 Message-ID: <2A0342ED68CDD41191EF00034708357CB7DC33@KACHINA> From: "LaBranche, Kevin" To: "'pgsql-odbc@postgresql.org'" Subject: Insert fails from VB only when table is empty...? Date: Fri, 28 Mar 2003 13:45:06 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2F56A.E9FF5B00" X-Spam-Status: No, hits=-2.3 required=5.0 tests=BAYES_20,HTML_60_70,HTML_FONT_COLOR_BLUE,HTML_FONT_FACE_ODD version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200303/80 X-Sequence-Number: 2799 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C2F56A.E9FF5B00 Content-Type: text/plain 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 ------_=_NextPart_001_01C2F56A.E9FF5B00 Content-Type: text/html

I am brand new to pgsql... J  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

 

 

------_=_NextPart_001_01C2F56A.E9FF5B00--