X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 5A9C4D1B540 for ; Mon, 3 Nov 2003 19:57:20 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 25279-09 for ; Mon, 3 Nov 2003 15:56:50 -0400 (AST) Received: from web20806.mail.yahoo.com (web20806.mail.yahoo.com [216.136.226.195]) by svr1.postgresql.org (Postfix) with SMTP id 21539D1CA8D for ; Mon, 3 Nov 2003 15:56:48 -0400 (AST) Message-ID: <20031103195648.7203.qmail@web20806.mail.yahoo.com> Received: from [208.13.35.65] by web20806.mail.yahoo.com via HTTP; Mon, 03 Nov 2003 11:56:48 PST Date: Mon, 3 Nov 2003 11:56:48 -0800 (PST) From: Jeff Eckermann Subject: Re: ODBC DSN Connections To: Philippe Lang Cc: pgsql-odbc@postgresql.org In-Reply-To: <6C0CF58A187DA5479245E0830AF84F420AF707@poweredge.attiksystem.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/17 X-Sequence-Number: 3419 --- Philippe Lang 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/