X-Original-To: pgsql-odbc@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B63C247580B for ; Fri, 28 Mar 2003 22:46:38 -0500 (EST) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 75FE2475458 for ; Fri, 28 Mar 2003 22:46:37 -0500 (EST) Received: (qmail 14819 invoked from network); 29 Mar 2003 03:46:41 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 29 Mar 2003 03:46:41 -0000 Received: from unknown (HELO PbgX) (219.61.40.14) by sd.tpf.co.jp with SMTP; 29 Mar 2003 03:46:41 -0000 From: "Hiroshi Inoue" To: "'LaBranche, Kevin'" Cc: 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> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002E_01C2F5F1.3E723230" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <2A0342ED68CDD41191EF00034708357CB7DC33@KACHINA> Importance: Normal X-Spam-Status: No, hits=-11.6 required=5.0 tests=BAYES_20,HTML_70_80,HTML_FONT_COLOR_BLUE, HTML_FONT_FACE_ODD,IN_REP_TO,ORIGINAL_MESSAGE autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200303/81 X-Sequence-Number: 2800 This is a multi-part message in MIME format. ------=_NextPart_000_002E_01C2F5F1.3E723230 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_002E_01C2F5F1.3E723230 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable メッセージ
How do= you open=20 the recordset ?
 
regards,
Hirosh= i=20 Inoue
-----Original Message-----
From: LaBranche,=20 Kevin

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

=  

I am using=20 ADO to connect an= d=20 recordset.addnew / recordset.update to insert records.

 

Thanks,

Kevin

 

 

------=_NextPart_000_002E_01C2F5F1.3E723230--