Received: from corppo1.uvsg.com (corppo1.uvsg.com [192.40.65.90]) by hub.org (8.9.3/8.9.3) with ESMTP id MAA72535 for ; Sat, 15 May 1999 12:23:01 -0400 (EDT) (envelope-from michael.j.davis@tvguide.com) Received: from prevuepo1.prevuenet.com (prevuepo1.uvsg.com [192.40.65.44]) by corppo1.uvsg.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id KVHZBBZQ; Sat, 15 May 1999 11:22:47 -0500 Received: by prevuepo1.uvsg.com with Internet Mail Service (5.5.2232.9) id ; Sat, 15 May 1999 11:25:48 -0500 Message-ID: <93C04F1F5173D211A27900105AA8FCFC1454FD@lambic.prevuenet.com> From: Michael J Davis To: "'leif@danmos.dk'" , pgsql-interfaces@postgreSQL.org Subject: RE: [INTERFACES] MSAccess and primary keys Date: Sat, 15 May 1999 11:23:58 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2232.9) Content-Type: text/plain; charset="iso-8859-1" Make sure the "Recognize Unique Indexes" flag is turned on in the PostgreSQL ODBC driver. -----Original Message----- From: leif@danmos.dk [SMTP:leif@danmos.dk] Sent: Saturday, May 15, 1999 2:35 AM To: pgsql-interfaces@postgreSQL.org Subject: [INTERFACES] MSAccess and primary keys [Sorry for reposting this, the subject got garbled.] Hello, I have a rather anoying problem. I am linking a quite large M$Access application to a PostgreSQL database with a a lot of relations (primary keys/foreign keys). In all my tables I have created primary keys (to keep M$Access happy ;-). Unfortunately, when I link my application to the database, Access asks me for each and every table (there are more than 80 of them) what I want to use for unique index field. I thought the primary key spec would do just that? All tables are designed like the one below: create table globalafvigelse ( id serial , startdato date, slutdato date, dagskema varchar(50), primary key (globalafvigelse) ); Greetings, Leif (leif@danmos.dk)