Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 478951337D51 for ; Wed, 15 Sep 2010 23:59:27 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 90861-03 for ; Thu, 16 Sep 2010 02:59:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.23]) by mail.postgresql.org (Postfix) with SMTP id 9D7DA1337C6A for ; Wed, 15 Sep 2010 23:59:19 -0300 (ADT) Received: (qmail invoked by alias); 16 Sep 2010 02:59:17 -0000 Received: from mue-88-130-17-183.dsl.tropolys.de (EHLO [192.168.0.113]) [88.130.17.183] by mail.gmx.net (mp071) with SMTP; 16 Sep 2010 04:59:17 +0200 X-Authenticated: #14269776 X-Provags-ID: V01U2FsdGVkX189JGIkaP89lBTY6wJ6orMmnuTarzaW7xjA8gVoXB /U6vAfEynFpwz4 Message-ID: <4C91880B.8050309@gmx.net> Date: Thu, 16 Sep 2010 04:59:23 +0200 From: Andreas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.9) Gecko/20100825 Thunderbird/3.1.3 MIME-Version: 1.0 To: "G. Allegri" , pgsql-odbc@postgresql.org Subject: Re: ms-access tables relationships question References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201009/16 X-Sequence-Number: 10426 Hi, do you know that there are 2 types of relationships in Access? Access can only manage strict relational integrity of tables within the same Access-File. Even there enforcement is optional. You can draw nice lines between tables that are still only hints for the query design tool, so it connects certain columns which you had linked before. Access generally can't enforce integrity when a table in DB1 is linked to a table in DB2. Though integrity gets watched if you import tables from another file when the integrity relations are defined between tables in the remote file. When your tables are managed by postgresql and have relations then postgresql keeps the integrity. You don't have to bother about it in Access. Am 15.09.2010 16:48, schrieb G. Allegri: > I supposed that, but I wanted to be sure. > Thanks very much, > Giovanni > > 2010/9/15 Mike Toews: >> Hi Giovanni, >> >> MS Access does not import anything to Relationships. Only the basic >> table schema is visible in MS Access, such as ODBC-interpreted data >> types and primary key(s) (visible with the key logos in read-only >> Design view). >> >> When you link a table into Access, you can only do basic INSERT, >> UPDATE, and DELETE operations. If you change your source table schema >> (e.g., change a data type, rename/add/delete a column), then you need >> to update the linked table using the Linked Table Manager tool. You >> can add/edit your Relationships without any modification to the source >> database. >> >> -Mike >> >> On 15 September 2010 01:33, G. Allegri wrote: >>> I'm new to ODBC world, and I need to use it for an application in MS >>> Access where I need to view/manage PG data sources. I've tried to >>> google but I haven't been able to find a clear answer to a question: >>> can the Access relationship tools visualize the original table >>> relationships in PG? I mean, simply, foreign key constraints. If not, >>> I can set them up in Access but I suppose they don't affect the PG >>> table structures, right? >>> >>> Thanks for any clarification, >>> Giovanni >>> >>> -- >>> Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) >>> To make changes to your subscription: >>> http://www.postgresql.org/mailpref/pgsql-odbc >>>