Question : Null query causes other queries to return no records

I have an access 2.0 query that references TableA and QueryA.  As long as QueryA has a record to return every works fine but if QueryA has no record to return it causes the selected query to return no records as well.   Here are my SQL statements.

1:
2:
3:
4:
SELECT DISTINCTROW [TableA].firstname, [TableA].lastname, [TableA].Date, [TableA].requester, Left([file],5) AS Expr2, [TableA].file
FROM [TableA], [QueryA]
WHERE (([TableA].type="Test") AND ([TableA].file<>[SSN]))
ORDER BY Right([file],2), Right([file],4), Left([file],5);

Answer : Null query causes other queries to return no records

is the common field betwen the table and the query this expression
[TableA].file<>[SSN]

try this query

SELECT DISTINCTROW [TableA].firstname, [TableA].lastname, [TableA].Date, [TableA].requester, Left([file],5) AS Expr2, [TableA].file
FROM [TableA] Left Join [QueryA] On [TableA].file=QueryA.[SSN]
WHERE (([TableA].type="Test") AND (QueryA.[SSN] Is Null))
ORDER BY Right([file],2), Right([file],4), Left([file],5);
Random Solutions  
 
programming4us programming4us