Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 6C9E9476071 for ; Thu, 29 Aug 2002 15:05:34 -0400 (EDT) Received: from serverc.sea.theriver.com (serverC.sea.theriver.com [216.39.128.33]) by postgresql.org (Postfix) with SMTP id ABA3C475C8E for ; Thu, 29 Aug 2002 15:05:33 -0400 (EDT) Received: (qmail 32304 invoked from network); 29 Aug 2002 19:05:13 -0000 Received: from sense-westmark-132.oz.net (HELO server4.westmarkproducts.com) (216.39.154.132) by serverc.sea.theriver.com with SMTP; 29 Aug 2002 19:05:13 -0000 Received: from wpi1 (wpi1.westmarkproducts.com [192.168.1.1]) by server4.westmarkproducts.com (8.11.6/8.11.6) with SMTP id g7TInAM05387; Thu, 29 Aug 2002 11:49:10 -0700 Received: by localhost with Microsoft MAPI; Thu, 29 Aug 2002 12:09:35 -0700 Message-ID: <01C24F54.F0F17B80.cgibbs@westmarkproducts.com> From: Corey Gibbs Reply-To: "cgibbs@westmarkproducts.com" To: "'Nicolas Briones'" , "pgsql-odbc@postgresql.org" Subject: Re: How can i set several databases using Win ODBC Date: Thu, 29 Aug 2002 12:09:34 -0700 Organization: Westmark Products, Inc. X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/55 X-Sequence-Number: 1968 Howdy Nicholas, Check into DSNless connections. Once the driver is installed, you can refer to it in your program dim cn as ADODB.Connection dim rs as ADODB.Recordset cn.Open "Driver={PostgreSQL};Server=server4;Port=5432;Database=foobar;Uid=postgres;" at that point you can point to another database besides foobar Once the driver's been installed and registered on teh workstation, this method will work. hope it helps corey On Thursday, August 29, 2002 11:18 AM, Nicolas Briones [SMTP:nbr@designers.cl] wrote: > I installed windows ODBC, configure everything, and all runs just fine. > But now, i need to build another application, using another Postgres > database, but ODBC only let me configure 1 database. If i try to add > another postgres DSN, it just show me the first one, and can't add another > one, only modify the first one... i refuse to accept that postgres ODBC be > so limited... > > > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster