From: Andreas <maps.on@gmx.net>
To: G. Allegri <giohappy@gmail.com>
To: pgsql-odbc@postgresql.org
Subject: Re: ms-access tables relationships question
Date: Thu, 16 Sep 2010 04:59:23 +0200
Message-ID: <4C91880B.8050309@gmx.net> (raw)
In-Reply-To: <AANLkTinu1kSg88=5CXommN9=MykauoYL_bK-vBdTd65h@mail.gmail.com>
References: <AANLkTi=FtWCJq-d+FyEBLmbdFhCPr16dTp2C7EL8OO9x@mail.gmail.com>
<AANLkTinTXeZ6vTWhnCnjj8wn=8hvUbdNvHbJkqP_2Z_1@mail.gmail.com>
<AANLkTinu1kSg88=5CXommN9=MykauoYL_bK-vBdTd65h@mail.gmail.com>
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<mwtoews@gmail.com>:
>> 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<giohappy@gmail.com> 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
>>>
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: maps.on@gmx.net, giohappy@gmail.com
Subject: Re: ms-access tables relationships question
In-Reply-To: <4C91880B.8050309@gmx.net>
References: <AANLkTi=FtWCJq-d+FyEBLmbdFhCPr16dTp2C7EL8OO9x@mail.gmail.com> <AANLkTinTXeZ6vTWhnCnjj8wn=8hvUbdNvHbJkqP_2Z_1@mail.gmail.com> <AANLkTinu1kSg88=5CXommN9=MykauoYL_bK-vBdTd65h@mail.gmail.com> <4C91880B.8050309@gmx.net>
* 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