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 E7D2ED1DF87 for ; Mon, 26 Jan 2004 23:11:10 +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 78109-01 for ; Mon, 26 Jan 2004 19:10:42 -0400 (AST) Received: from mlc-wels.edu (mlc-wels.edu [12.47.42.229]) by svr1.postgresql.org (Postfix) with ESMTP id 8105BD1DB89 for ; Mon, 26 Jan 2004 19:10:39 -0400 (AST) Received: by mlc-wels.edu from localhost (router,SLmail V5.1); Mon, 26 Jan 2004 17:07:10 -0600 for Received: from spike [172.16.1.112] by mlc-wels.edu [192.168.1.4] (SLmail v5.0) with ESMTP id BF7CBBCE8AA74CDEBEFDF6224B172DC6 for plus 1 more; Mon, 26 Jan 2004 17:06:59 -0600 From: "Aaron Spike" To: Jeff Eckermann , pgsql-odbc@postgresql.org Date: Mon, 26 Jan 2004 17:08:46 -0600 MIME-Version: 1.0 Subject: Re: [HELP] MSAccess picks wrong keys Message-ID: <4015499E.20269.1DF7E5D@localhost> In-reply-to: <20040126151907.47148.qmail@web20813.mail.yahoo.com> References: <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: DF0478C8-60A245BF-A98AA6E6-DE2BC794 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/97 X-Sequence-Number: 3726 > So, for you this should "just work". I don't have an > answer, but maybe someone else can suggest it. Well it didn't just work. Until I dropped and recreated the table and copied the data back in. Now it works fine. Its almost like the driver knew that the index was on the first field and the last two fields. Problems and fixes aside can anyone offer more information on how the pgodbc driver and access decide whether or not to present the "Select Unique Record Identifier" dialogue when linking tables? > If you don't have logging enabled, you may want to try > that for a while; there may be some clues in there. Logging with the odbc driver or on the server? > BTW, I suggest you reconsider your use of a composite > primary key. The fact that they are supported doesn't > make them a good idea. Not my choice actually, but after working with them for some time I they have grown on me. Aaron Spike