pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David P. Lurie <dbase4@hotmail.com>
To: pgsql-odbc@postgresql.org
Subject: Linked file problem after alter table in Access 2003
Date: Sun, 4 Apr 2004 11:32:08 -0400
Message-ID: <c4p9pa$ua7$1@sea.gmane.org> (raw)

psqlODBC 07.03.02

PostgreSQL 7.4.1 (Cygwin)

MS Access 2003

Win XP Pro

I imported a table with 84 fields into Access 2002 from an application
running on SCO OSR 5.0.7 that uses an old RDBMS named Unify 6.0.

It exported without incident to 7.4.1 (cygwin) on the Windows box, and also
to 7.3.4 on the SCO box.

Access 2002 could link or import from either postgresql table without
incident. I upgraded Office XP to Office 2003 yesterday, and have had some
file linking problems after some table modifications that may not be related
to the Access upgrade.

Only 13 of the 84 columns from the original table are relevant to my current
project. 71 unneeded columns were dropped from the table with pgAdminIII on
the cygwin server , and the database was vacuumed. The table data could
subsequently be viewed with pgAdminIII.

Subsequent attempts to link to the table from Access 2003 were unsuccessful.

Deleting and recreating a linked table within Access 2003 resulted in
retrieval of all 8938 rows of the table, all as identical copies of the
first row of the table, despite correct recognition of the unique primary
key from the postgresql table.

Importing the table resulted in an accurate, functioning local Access 2003
table, including the correct unique primary key.

Deleting the primary key on the postgresql side , a single varchar(6)
column, resulted in apparently normal linking and importing to Access 2003,
requiring specification of the primary key field as expected.

Recreating the primary key on the postgresql side resulted in recurrence of
the original problem, which could be resolved by deleting the primary key
again.

Clearing the table with 'Delete from table_name;' followed by repopulating
with the contents of the local Access table, using an Access append query,
resulted in the same problems.

Dropping the table, then recreating it by exporting the local Access table
resulted in apparently normal file linking and importing from postgresql.

Is this a problem with Access 2003, or is it a problem that can occur after
extensive table alteration? I don't plan to make such extensive table
modifications in the future, but do anticipate some minor modifications will
be needed.

Thanks,

David P. Lurie











Message-ID: <c4p9pa$ua7$1@sea.gmane.org>
Permalink:  ../c4p9pa$ua7$1@sea.gmane.org/
Also on:    postgresql.org/message-id/c4p9pa$ua7$1@sea.gmane.org

 · 

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: dbase4@hotmail.com
  Subject: Re: Linked file problem after alter table in Access 2003
  In-Reply-To: <c4p9pa$ua7$1@sea.gmane.org>
  References: <c4p9pa$ua7$1@sea.gmane.org>

* 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