|
|
Sponsor |
Re: Some problems with Access and ODBC to PostgreSQL: msg#00057db.postgresql.odbc
On Tuesday 16 March 2004 01:18, Steve Jorgensen wrote: > > 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. Never seen anything like this, but it sounds like changing the RecordSource without closing the form might be creating a new form. > 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 <field>=Forms!<formname>! > <controlname>. 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. I think it's sending the raw query and filtering client-side. You can check this by turning query logging on in PostgreSQL (see the postgresql.conf file) or in your ODBC driver settings. Must admit, I tend to just assemble my own SQL nowadays - the only pain is Access' poor string handling. -- Richard Huxton Archonet Ltd ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Case sensitive, Shachar Shemesh |
|---|---|
| Next by Date: | Data Access Error, Nick Texidor |
| Previous by Thread: | Some problems with Access and ODBC to PostgreSQL, Steve Jorgensen |
| Next by Thread: | Re: Some problems with Access and ODBC to PostgreSQL, Steve Jorgensen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|