X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 215F3D1B456 for ; Mon, 26 Jan 2004 14:39:00 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 93503-01 for ; Mon, 26 Jan 2004 10:38:32 -0400 (AST) Received: from mlc-wels.edu (mlc-wels.edu [12.47.42.229]) by svr1.postgresql.org (Postfix) with ESMTP id 739C6D1D1A4 for ; Mon, 26 Jan 2004 10:38:27 -0400 (AST) Received: by mlc-wels.edu from localhost (router,SLmail V5.1); Mon, 26 Jan 2004 08:37:23 -0600 for Received: from spike [172.16.1.112] by mlc-wels.edu [192.168.1.4] (SLmail v5.0) with ESMTP id 87F482D503A64CB6B2B6C5B1DEA07355 for ; Mon, 26 Jan 2004 08:37:22 -0600 From: "Aaron Spike" To: pgsql-odbc@postgresql.org Date: Mon, 26 Jan 2004 08:38:23 -0600 MIME-Version: 1.0 Subject: [HELP] MSAccess picks wrong keys Message-ID: <4014D1FF.4943.C3ADC@localhost> X-mailer: Pegasus Mail for Windows (v4.12a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-SLUIDL: C887A1F5-7FAA485F-8CEA5F6C-EB34EB85 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/91 X-Sequence-Number: 3720 Using MS Access 2003 and pgsql-odbc 7.03.02.00. Today I added a column (Course_LongName) to a table (Courses), when I relinked the table in Access decided that that column should be part of the composite primary key. The Correct Key is "Course_Number", "SchoolYear", "SchoolYearSemester". Access Chooses "Course_Number", "SchoolYearSemester", "Course_LongName" every time. I can't get it to let go! I've deleted the link and relinked/refreshed. I've checked and unchecked "Recognise unique indexes" to no avail. Is there any way I can make this go right? How does Access choose keys? Can I trick it? Is there a way to force Access to display the key choosing interface when linking tables from postgresql? Aaron Spike My Table description: Table "public.Courses" Column | Type | Modifiers --------------------+--------------------------------+----------- Course_Number | character varying(7) | not null Course_ShortName | character varying(12) | Course_Credit | double precision | not null ModifiedBy | text | Modified | timestamp(0) without time zone | Course_Description | text | SchoolYear | character varying(6) | not null SchoolYearSemester | character varying(1) | not null Course_LongName | character varying(255) | Indexes: Courses_pkey primary key btree ("Course_Number", "SchoolYear", "SchoolYearSemester") Triggers: courses_update_modified