G
Guest
Thanks for the help. I'm using Office 2003. I just created 4 queries to find
the most recent payment on 4 different credit cards. Now I want to create a
union query to compile the data into one location.
Problem: When I copy the SQL syntax from each of the queries I get this
error message:
The ORDER BY expression ([name of table].name of field) includes fields that
are not selected by the query. Only those fields requested in the first query
can be included in an ORDER BY expression.
So when I take out either or both of the order by expressions I get the
wrong answers from the original queries. : (
What do I need to fix? Please be specific with the answer, I'm a real
beginner with SQL code. THANKS !
the most recent payment on 4 different credit cards. Now I want to create a
union query to compile the data into one location.
Problem: When I copy the SQL syntax from each of the queries I get this
error message:
The ORDER BY expression ([name of table].name of field) includes fields that
are not selected by the query. Only those fields requested in the first query
can be included in an ORDER BY expression.
So when I take out either or both of the order by expressions I get the
wrong answers from the original queries. : (
What do I need to fix? Please be specific with the answer, I'm a real
beginner with SQL code. THANKS !