pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Brendan LeFebvre <brendanl@iname.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: int8 foreign key in Access subform yields ODBC error on
Date: Thu, 18 Jul 2002 09:13:27 +0900
Message-ID: <3D360827.E3E110D9@tpf.co.jp> (raw)
References: <000901c22d07$69f24020$6701a8c0@xenopus>

Brendan LeFebvre wrote:
> 
> Postgres table "item" has int8 primary key "item_id".
> 
> Postgres table "image" has int8 foreign key "item" referencing
> "item"->"item_id".
> 
> Table "item" is represented on  an Access form "item".
> 
> The form has a subform for the records in "image."
> 
> If form is opened with an empty "item" table, or if table is populated and
> "New Record" button is pressed, error dialog "Error: ODBC call failed"
> appears.
> 
> PsqlODBC log is attached. Here are the pertinent lines:
> 
> conn=47268416, query='SELECT "Item"."image_id" FROM "image" "Item" 
> WHERE ( '' = "item" ) '

This where clause causes the following error.

> ERROR from backend during send_query: 'ERROR:  Bad int8 external
> representation ""'

Please send me the Mylog output directly.

regards,
Hiroshi Inoue
	http://w2422.nsk.ne.jp/~inoue/



view thread (2+ messages)

Message-ID: <3D360827.E3E110D9@tpf.co.jp>
Permalink:  ../3D360827.E3E110D9@tpf.co.jp/
Also on:    postgresql.org/message-id/3D360827.E3E110D9@tpf.co.jp

 · 

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, brendanl@iname.com
  Subject: Re: int8 foreign key in Access subform yields ODBC error on
  In-Reply-To: <3D360827.E3E110D9@tpf.co.jp>
  References: <000901c22d07$69f24020$6701a8c0@xenopus> <3D360827.E3E110D9@tpf.co.jp>

* 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