Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 63B9C633382 for ; Mon, 2 Nov 2009 17:14:49 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 44332-09 for ; Mon, 2 Nov 2009 21:14:41 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from butane.sunnybrook.utoronto.ca (unknown [142.76.1.55]) by mail.postgresql.org (Postfix) with ESMTP id 5E55C6330BE for ; Mon, 2 Nov 2009 17:14:41 -0400 (AST) Received: from (unknown [142.76.29.30]) by scm2.sw.ca with smtp id 4a82_bbf15880_c7f4_11de_884e_0014221ddf43; Mon, 02 Nov 2009 16:14:40 -0500 Received: from [142.76.25.53] ([142.76.25.53]) by butane.sunnybrook.utoronto.ca (8.13.8/8.13.8) with ESMTP id nA2LEUVs021996 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 2 Nov 2009 16:14:30 -0500 (EST) Message-ID: <4AEF4BB4.8060605@sri.utoronto.ca> Date: Mon, 02 Nov 2009 16:14:28 -0500 From: Nim Li User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: rod@iol.ie CC: pgsql-odbc@postgresql.org Subject: Re: Question about saving user name and password References: <4AEF4833.8020806@sri.utoronto.ca> <4AEF4938.7070000@iol.ie> In-Reply-To: <4AEF4938.7070000@iol.ie> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.93.1, clamav-milter version 0.93.1 on butane.sunnybrook.utoronto.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.63 on 142.76.29.30 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.01 tagged_above=-10 required=5 tests=BAYES_05=-1.11, RDNS_NONE=0.1 X-Spam-Level: X-Archive-Number: 200911/4 X-Sequence-Number: 10053 Thank you for your quick reply. I don't see any place to specify "save username and password". When I run the form in Access file, the pop-up window shows: - Database - SSL Mode (which has only "disable" option) - Server - Port - User Name - Password - Connection (button; when I click on it, another window shows up but I don't see any options related to password) - Manage DSN (button; when I click on it, nothing pops up) Any idea what I should check next? Many thanks!! On 11/2/2009 4:03 PM, Raymond O'Donnell wrote: > On 02/11/2009 20:59, Nim Li wrote: > >> I'm building an Access UI to work with a postgresql database. I'm using >> psqlodbc for the database connection. >> >> Every time I start the Access file to run the form, a pop-up window >> shows up to ask for username and password. >> >> Can we avoid the pop-up window by saving the username and password >> somewhere? > > Hi there, > > I haven't used ODBC in a while, but I seem to remember that there were > fields to enter the username & password in the DSN configuration > dialogs.... have you tried that? > > HTH, > > Ray. >