Skip site navigation (1) Skip section navigation (2)

Re: PostgreSQL and Access - relink

From: "Campbell, Greg" <greg(dot)campbell(at)us(dot)michelin(dot)com>
To: Jonathan Blitz <jb(at)anykey(dot)co(dot)il>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: PostgreSQL and Access - relink
Date: 2006-04-18 15:43:09
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc
I have used the AttachDSNLessTable function from the Microsoft knowledge base article: 892490.
Just Google: Access DSNless connection 892490
Cut the function and paste the function. Then you can call it from you application and use the fact that 
it provides for the tables alias (local) name to smooth out the difference between linked table naming 
conventions ("mytable" instead of "public_mytable"(PostgreSQL) or "dbo_mytable"(SQL Server), or 

Jonathan Blitz wrote:

> I have an Access project linked to a PostgreSQL database (linked tables).
> I need to be able to switch dynamitically between one PostgreSQL database
> and another according to the request from the user.
> Anyone have any code that will do this?
> I assume it will require me to re-link all the tables.
> Jonathan Blitz
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?

Attachment: greg.campbell.vcf
Description: text/x-vcard (241 bytes)

In response to

pgsql-odbc by date

Next:From: Sistemas C.M.P.Date: 2006-04-19 16:24:16
Subject: Max LongVarChar
Previous:From: Jonathan BlitzDate: 2006-04-18 14:57:03
Subject: PostgreSQL and Access - relink

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group