Re: Query is too complex after install Access 2007 SP 2 !?
- From: "Sylvain Lafontaine" <sylvainlafontaine2009@xxxxxxxx>
- Date: Wed, 6 May 2009 17:25:45 -0400
To be honest, the recurrent and inconsistant problems (sometimes they work,
sometimes they don't and all this with no recognizable pattern) of JET with
queries using a mix of UNION, Sub-Query and Outer Join is one of the main
reasons that I stopped using JET for most of my work a few years ago. This
was especially true (but not necessarily) when working against ODBC Linked
tables.
Now that you speak about it, I remember that sometimes, simply adding a
semi-colon ";" (or removing?) at the end of the query could be sufficient to
make it work correctly on many occasions.
--
Sylvain Lafontaine, ing.
MVP - Windows Live Platform
Email: sylvain2009 sylvainlafontaine com (fill the blanks, no spam please)
Independent consultant and remote programming for Access and SQL-Server
(French)
"David W. Fenton" <XXXusenet@xxxxxxxxxxxxxxxxxxx> wrote in message
news:Xns9C03A9CD71017f99a49ed1d0c49c5bbb2@xxxxxxxxxxxxxxxx
"Tony Toews [MVP]" <ttoews@xxxxxxxxxxxxxxx> wrote in
news:8fn105hhea1h7jmg0pu55i7f0a0pitfqgj@xxxxxxx:
"Sylvain Lafontaine" <sylvainlafontaine2009@xxxxxxxx> wrote:
Or even better: create a new, blank database and import everything
into it.
I'd suggest that before decompiling in this particular case as a
query problem would (or should) not be affected by decompiling.
The decompile switch is for VBA code, not for query compilation
plans. The latter are cleaned up by compacting the front end, which
marks all compilation plans for recompiling the next time the
queries are called. Then after the compact, open the query and save
it (which will recompile it). This will not always help. I've found
that sometimes you have to copy the SQL into a new query and save it
to get it to work.
--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
.
- Follow-Ups:
- Re: Query is too complex after install Access 2007 SP 2 !?
- From: David W. Fenton
- Re: Query is too complex after install Access 2007 SP 2 !?
- References:
- Query is too complex after install Access 2007 SP 2 !?
- From: Ivan
- Re: Query is too complex after install Access 2007 SP 2 !?
- From: Ivan
- Re: Query is too complex after install Access 2007 SP 2 !?
- From: Sylvain Lafontaine
- Re: Query is too complex after install Access 2007 SP 2 !?
- From: Sylvain Lafontaine
- Re: Query is too complex after install Access 2007 SP 2 !?
- From: Tony Toews [MVP]
- Re: Query is too complex after install Access 2007 SP 2 !?
- From: David W. Fenton
- Query is too complex after install Access 2007 SP 2 !?
- Prev by Date: Re: Sum Expression gives 1.45519152283669E-11 instead of 0 (zero)
- Next by Date: Re: Date Parameter Query
- Previous by thread: Re: Query is too complex after install Access 2007 SP 2 !?
- Next by thread: Re: Query is too complex after install Access 2007 SP 2 !?
- Index(es):
Relevant Pages
|