No Result Set From Tables Joined with Outer Then Inner Join (108893)
The information in this article applies to:
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0
- Microsoft Query
This article was previously published under Q108893 SYMPTOMS
In Microsoft Query, when you create a query that contains two tables that
are joined with an outer join, followed by an inner join, and the outer
join does not return any records from the second table, the resulting data
set will be empty (that is, the Data pane will not contain any records)
even if the inner join would normally return data.
CAUSE
When an inner join follows an outer join, the inner join attempts to
retrieve records from the result set created by the outer join. If the
result set from the outer join contains no records from the second table,
then there are no records from the second table to compare in the inner
join.
If you look at the SQL query statement that is generated by your query, you
will see that the records in the FROM clause (created by the outer join)
are the result set from which the WHERE clause (created by the inner
join) operates.
STATUS
This behavior is by design in Microsoft Query.
MORE INFORMATIONREFERENCES
"Microsoft Query User's Guide," version 1.0, Chapter 6
Modification Type: | Minor | Last Reviewed: | 8/15/2005 |
---|
Keywords: | KB108893 |
---|
|