This messsage indicates that Access is not able to understand the query.
There are several possible causes.
One obvious cause is that the query is, in fact, too complex. However, there
are other reasons why Access might not be able to make sense of the query. A
common one is that it fails to understand the intended data type of a
calculated field, and so it cannot apply the critiera. The solution is to
typecast the calculation, e.g.:
CVDate([InvoiceDate] + 30)
CCur(Nz([CreditAmount] - [DebitAmount],0))
More in this article:
Calculated fields misinterpreted
at:
http://allenbrowne.com/ser-45.html
Reports actually generate a further query into whatever table/query you have
in the RecordSource, in order to sort and perform the grouping in the
report. So the query that is too complex can be that generated by the report
rather than anything you created.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Reply to group, rather than allenbrowne at mvps dot org.
Martin said:
I have a report with some fields, these fields have been calculated in a
query. When i try to run a sum on these fields in any groupfooter of the
report, I get the error: "Query to complex".
Does anyone know the reason why i get this error?