Re: ODBC DSN Connections - Mailing list pgsql-odbc

From Jeff Eckermann
Subject Re: ODBC DSN Connections
Date
Msg-id 20031103195648.7203.qmail@web20806.mail.yahoo.com
Whole thread Raw
In response to Re: ODBC DSN Connections  ("Philippe Lang" <philippe.lang@attiksystem.ch>)
List pgsql-odbc
--- Philippe Lang <philippe.lang@attiksystem.ch>
wrote:

> Just one quick note, though: My client will be
> implemented with MS Access 2000, and I had a lot of
> problems with permissions and DSN-less connection.
> Permissions simply do not work, at least for me,
> unless I use a good old DSN, with a username and a
> password inside. I use a lot of "Pass-through
> queries" in Access, which are generated dynamically,
> in order to pass parameters to Postgresql, and
> process the results inside a report.

There's nothing to stop you from making a connection
at the time you do your pass-through query, in the
same code.  But you would need to hard-code your
connection parameters, or prompt the user for them;
either approach has its drawbacks.  Or you could read
the parameters from another location, but that brings
you right back to your DSN idea...

But I agree with you in general, I like the
simplification that DSNs allow.  Although I am not
supporting any large number of client installations.


__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

pgsql-odbc by date:

Previous
From: "Philippe Lang"
Date:
Subject: Re: ODBC DSN Connections
Next
From: Michelle Murrain
Date:
Subject: Access, ODBC and "other users"