"Query Too Complex" ... but all data is needed

J

Jennifer Cali

I have a query that is too complex (i.e.: too many fields being calculated).
I have broken the data out to two separate queries and am able to run each
individually, but need to pull the resulting aggregate data onto a single
form. How can I do this? I can't just combine the two queries on the form b/c
there isn't a field that links them together so Access won't let me join
them.
 
C

CurtainMary

I have had error messages like that and eventually I discovered that they
were due to mixing left and right joins inappropriately. I suggest that you
have a real good look at the joins.
CurtainMary
 
D

David Cox

If the two sets of data are to go on the same form then I would assume that
there is some association between them. If you put a recipe and the name of
library books on the same bit of paper it might because you are planning a
trip to town. In that case you might create a field "triptotown" and
associate it with the recipe and the library books, and create a query to
join them. Now you have one query and one form and the world is a more
beautiful place.

Perhaps
 
K

Ken Sheridan

Jennifer:

Can you post the SQL of the original over-complex query, and of the two less
complex ones here. At present we don't have a lot of information to go on,
so are having to second guess what's required. I don't think a union is
likely to be the answer because, reading between the lines, it sounds like
you want to JOIN the result sets of the two less complex queries rather than
carry out a UNION operation.

Some explanation of what you are trying to achieve in terms of the data,
rather than how you are trying to do it would also help the dog to see the
rabbit.

Ken Sheridan
Stafford, England
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top