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 9B4F1D1E154 for ; Tue, 16 Mar 2004 01:10:39 +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 61270-05 for ; Mon, 15 Mar 2004 21:10:38 -0400 (AST) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by svr1.postgresql.org (Postfix) with ESMTP id ABCD3D1E138 for ; Mon, 15 Mar 2004 21:10:29 -0400 (AST) Received: from sjdev01 (c-24-20-228-102.client.comcast.net[24.20.228.102]) by comcast.net (rwcrmhc11) with SMTP id <2004031601103001300be2s7e>; Tue, 16 Mar 2004 01:10:30 +0000 Received: by localhost with Microsoft MAPI; Mon, 15 Mar 2004 17:18:45 -0800 Message-ID: <01C40AB1.92844E50.jorgens@coho.net> From: Steve Jorgensen Reply-To: "jorgens@coho.net" To: "'pgsql-odbc@postgresql.org'" Subject: Some problems with Access and ODBC to PostgreSQL Date: Mon, 15 Mar 2004 17:18:42 -0800 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 amavisd-new at postgresql.org X-Archive-Number: 200403/56 X-Sequence-Number: 3858 Hi all, I'm very familliar with the use of Access as a front-end to MS-SQL Server, but I'm having some strange issues with PostgreSQL that are getting me frustrated. First, Access is bugging out. I have one form on which, depending which variation of the code I run, either rewrites the RecordSource property of my form and subform or requeries them to reflect changes in form controls the queries refer to. In either case, this will work the first few times, then it will continue to work, but I suddenly get 20 instances of the form showing in the task bar. Access will let me keep using the form and close it, but then it crashes when I try to close Access. Obviously, there's something about what the ODBC driver is doing or not doing that Access is not handling well. Second, I have some queries that run very fast when I create them dynamically in code, but run dog slow when I make them parameterized using DAO. I'm talking simple parameters here, just =Forms!! . With an MS SQL Server back-end, I get faster performance this way because it uses a prepared statement and the server doesn't need to recompile the query. here, it seems as if Access might be failing to even figure out it should have the server process the WHERE clause, though I can't see why that should be happening. Any ideas? Thanks, - Steve Jorgensen