A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

query is too complex



 
 
Thread Tools Display Modes
  #1  
Old October 27th, 2006, 08:50 AM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access.modulesdaovba
00KobeBrian
external usenet poster
 
Posts: 77
Default query is too complex

Hi,

I try to run a query and I get an error message "query is too
complex" and not running in access 97. Can anyone please help ? Thanks.


  #2  
Old October 27th, 2006, 10:57 AM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access.modulesdaovba
Allen Browne
external usenet poster
 
Posts: 11,706
Default query is too complex

Access throws this error if it cannot understand the query. There are lots
of reasons why that could happen, such as brackets that are incorrect, or
(very often) data types that don't match.

Explicitly declare your parameters (Parameters on the Query menu) for all
fields except Text, so Access knows how to understand them. If you have
calculated fields, explicitly typecast them. If you have criteria, make sure
the criteria are delimited correct: in quotes if applied against a text
field, in # if applied against a Date/Time field, and no delimiters if
applied against a Number field.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"00KobeBrian" wrote in message
...
Hi,

I try to run a query and I get an error message "query is too
complex" and not running in access 97. Can anyone please help ? Thanks.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:24 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.