X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 4F4189DCD55 for ; Sun, 19 Mar 2006 00:45:01 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 43505-06 for ; Sun, 19 Mar 2006 00:44:59 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by postgresql.org (Postfix) with SMTP id 3DC9C9DCC18 for ; Sun, 19 Mar 2006 00:44:58 -0400 (AST) Received: (qmail invoked by alias); 19 Mar 2006 04:44:56 -0000 Received: from i3ED6CFBD.versanet.de (EHLO [192.168.0.108]) [62.214.207.189] by mail.gmx.net (mp017) with SMTP; 19 Mar 2006 05:44:56 +0100 X-Authenticated: #14269776 Message-ID: <441CE242.4000504@gmx.net> Date: Sun, 19 Mar 2006 05:46:58 +0100 From: Andreas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8.0.1) Gecko/20060130 SeaMonkey/1.0 MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: efficiency of ODBC, MS-Access, subforms with filter Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.09 required=5 tests=[AWL=0.090] X-Spam-Score: 0.09 X-Spam-Level: X-Archive-Number: 200603/102 X-Sequence-Number: 7388 Hi, This question might sound a wee bit off-topic but it isn't really. I've got some tables with related info. There is a table of customers and some tables with other stuff like adresses, contacts, letters, ... Up until now all was stored in a shared MS-Access MDB. I have a form that shows all the stuff per customer. The contacts and letters and a few other tables are selected into subforms. This sucks big time with linked tables out of a MDB via network so I want to move the backend to PostgreSQL. Now I try to figure out how I could make my forms as fast as possible. Subforms can't be based on pass-through-queries in memory so I can either have linked PostgreSQL tables that get filtered by the form or create dynamically querydef-objects. Those querydefs would get written to the mdb-file so I'd lose time again. Am I to hope that Access tells the odbc-driver the filter crtiterium of subforms so that it just fetches the few records that relate to the customer shown on the parent-form? Or would it rather fetch all records in the source table/view and then sort the interesting records out locally?