pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Broersma Jr <rabroersma@yahoo.com>
To: Finn Lassen <dcio@AxiomInt.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Need help with Visual Basic 6 and PostgreSQL
Date: Fri, 23 Nov 2007 06:39:19 -0800 (PST)
Message-ID: <861905.97007.qm@web31812.mail.mud.yahoo.com> (raw)
In-Reply-To: <47463492.90002@AxiomInt.com>

--- On Thu, 11/22/07, Finn Lassen <dcio@AxiomInt.com> wrote:
> 2007-11-22 20:21:14 ERROR:  column "" of relation
> "Contact1"
> does not exist at character 40
> 
> 2007-11-22 20:21:14 STATEMENT:  BEGIN;insert into
> "public"."Contact1" ("",
> "Ext4", "(", "Address2",

Does your table really have all of these field names?  In addition to the "" field, I am suspicious of the "(" field.  I am curious, if the ado recordset is seeing more fields than the table actually has.  Since you weren't able to display the field that didn't exist in the table, you could possible determine if it is a ascii character by getting its charcode()(or something equivalent).

If you indeed find that your recordset does indeed see fields that do not exist in the table, then it is very likely that you have found a bug with the ODBC driver. It would help the developers to correct this problem if you were to submit a small test case that is able to reproduce the effects that you are seeing.  It should include a sample database with sample table and it should include the VB codes that creates the recordset and then attempts to send an update to the table.  They will probably want you to submit two of the ODBC drivers logs ( Mylog and Commlog ).  These can be turned ON from your odbc drivers DSN user interface.  (Just remember to turn off all odbc logging when your testing is done since odbc logging is a major performance killer.)

What version number of PostgreSQL are you running. What is the version number of the ODBC driver that you are using?  Are they the latest released versions?





view thread (16+ messages)  latest in thread

Message-ID: <861905.97007.qm@web31812.mail.mud.yahoo.com>
Permalink:  ../861905.97007.qm@web31812.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/861905.97007.qm@web31812.mail.mud.yahoo.com

 · 

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: rabroersma@yahoo.com, dcio@AxiomInt.com
  Subject: Re: Need help with Visual Basic 6 and PostgreSQL
  In-Reply-To: <861905.97007.qm@web31812.mail.mud.yahoo.com>
  References: <47463492.90002@AxiomInt.com> <861905.97007.qm@web31812.mail.mud.yahoo.com>

* 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