pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Ben Trewern <ben_trewern@hotmail.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Access 97 and pgsqlodbc version 7.03.0100
Date: Tue, 20 May 2003 09:50:28 +0900
Message-ID: <3EC97BD4.50A12623@tpf.co.jp> (raw)
References: <BAY8-F71lV5tTPEiRZi00024745@hotmail.com>

Please remove spaces from the column name.

Ben Trewern wrote:
> 
> There are two separate problems I am having -
> 
> 1.  You can connect any table in Access 97 and use it in that session but if
> you close the database (mdb file) and open it again you get a GPF on opening
> the table.
> 
> It seems to happen with which ever table I open.  I think it must be a
> problem with the ODBC 3 driver because I didn't have this problem before
> upgrading.
> 
> 2.  This problem is more interesting:
> 
> I have a table similar to :
> 
> CREATE TABLE public.subs (
>     subcontractorid varchar(10),
>     "payment number blue" int2,
>     description text
> );
> 
> I link it into Access 97 and open the table.  It opens correctly, but after
> approx 8 seconds all the data turns to #Name? .  I've looked at the
> mylog_xxx.log file and have found the following:
> 
> [3704]send_query(): conn=42153888, query='SELECT "subcontractorid","payment
> '#S_C_H#' blue","description1","xmin"  FROM "public"."subs2"  WHERE
> "subcontractorid" = 'ARB' OR "subcontractorid" = 'ARCMOR' OR
> "subcontractorid" = 'ARROW' OR "subcontractorid" = 'ASBESTEC' OR
> "subcontractorid" = 'ASH' OR "subcontractorid" = 'ashbrook' OR
> "subcontractorid" = 'ASHCROFT' OR "subcontractorid" = 'ASPHALTIC' OR
> "subcontractorid" = 'ASSOCIATED' OR "subcontractorid" = 'ATLAS''
> 
> as you can see "payment number blue" has been replaced by "payment '#S_C_H#'
> blue"  I assumed from this that the word 'number' was the problem so renamed
> the field "pay no blue" but I still get the problem.
> 
> Any Ideas?
> 
> BTW I am using Postgres 7.3.2 on Mandrake linux 8.1, Windows XP sp1, Access
> 97 sr2

regards,
Hiroshi Inoue
	http://www.geocities.jp/inocchichichi/psqlodbc/



view thread (11+ messages)  latest in thread

Message-ID: <3EC97BD4.50A12623@tpf.co.jp>
Permalink:  ../3EC97BD4.50A12623@tpf.co.jp/
Also on:    postgresql.org/message-id/3EC97BD4.50A12623@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, ben_trewern@hotmail.com
  Subject: Re: Access 97 and pgsqlodbc version 7.03.0100
  In-Reply-To: <3EC97BD4.50A12623@tpf.co.jp>
  References: <BAY8-F71lV5tTPEiRZi00024745@hotmail.com> <3EC97BD4.50A12623@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