pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas <maps.on@gmx.net>
To: Joshua D. Drake <jd@commandprompt.com>
Cc: Greg Cocks <gcocks@stoller.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Hoping - is there a 'automagically' way to emulate the PK/FK, etc settings in PostgreSQL in the relationships in Access?
Date: Thu, 29 Nov 2007 01:43:39 +0100
Message-ID: <474E0B3B.7070107@gmx.net> (raw)
In-Reply-To: <20071128153058.3f758e7c@commandprompt.com>
References: <66F6CF82BF58CE4DB4285BE816B297E83547ED@tribble.SMStoller.com>
	<20071128153058.3f758e7c@commandprompt.com>

Joshua D. Drake schrieb:
> On Wed, 28 Nov 2007 16:24:54 -0700
> "Greg Cocks" <gcocks@stoller.com> wrote:
>   
>> Hoping - is there a 'automagically' way to emulate the PK/FK, etc
>> settings in PostgreSQL in the relationships in Access?
>>     
>
> What do you mean automagically? I haven't used Access in about 7 years
> but I seem to recall that if you had the relationship built, access
> would pick it up via odbc (at least with other databases).
>   
Maybe he refers to the graphical representation of relations between 
tables within access MDBs.
Then the answer was no. There is no automatic way for all I know.

Access can mind fk-constraints only within one mdb file but one can 
manually draw simple connections between linked in external tables 
though those are just added sugar that will commodize query design a wee 
bit.

AFAIK Access will use indexes within a postgresql db and is obviously 
bound to fk-constraints within the backend, though it won't fetch those 
constraints to use them for any magic like in the query builder.
The query builder would know of relations in an MDB and autoconnect 
tables with such links as soon as they are dropped into the query graph. 
Cute ... but well ... you know ;)


>> aybe lookups to emulate that built in MS Access natively to emulate
>> the FK relationships in the PostgreSQL linked tables?
>>     
Like mentioned above you may draw those links yourself.
I wouldn't rule out that it might be possible to peek through odbc and 
analyse the backend to recreate the simple links within Access by VBA. 
Well, pgAdmin lists the table constraints so why shouldn't Access see 
them (somehow), too?
This might prove to be "interesting" for a winter weekend without 
anything decent in the telly   ;)


Regards
Andreas






view thread (7+ messages)  latest in thread

Message-ID: <474E0B3B.7070107@gmx.net>
Permalink:  ../474E0B3B.7070107@gmx.net/
Also on:    postgresql.org/message-id/474E0B3B.7070107@gmx.net

 · 

reply

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, jd@commandprompt.com, gcocks@stoller.com
  Subject: Re: Hoping - is there a 'automagically' way to emulate the PK/FK, etc settings in PostgreSQL in the relationships in Access?
  In-Reply-To: <474E0B3B.7070107@gmx.net>
  References: <66F6CF82BF58CE4DB4285BE816B297E83547ED@tribble.SMStoller.com> <20071128153058.3f758e7c@commandprompt.com> <474E0B3B.7070107@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