I posted this request in a different forum and did not get a solution.
Access 2000 - I have the following query:
qryTick is a UNION query. When I executed the query as shown it returns lots of record which are correct. However, what I need is only one from each tblTracking.Tatno. I inserted TOP 1 after Select. I get only two records and only two records from the same tblTracking.Tatno. What am I doing wrong? Please help I need to solve the problem. I have done research during the last several days and have come out empty handed. THANK YOU.
Access 2000 - I have the following query:
Code:
SELECT tblTracking.Tatno, tblTracking.Taxpayer, qryTick.Item, qryTick.ActDate
FROM tblTracking INNER JOIN qryTick ON tblTracking.Tatno = qryTick.TatNum
WHERE (((tblTracking.Consol)="N") AND ((tblTracking.Related)="N") AND ((IsNull([tblTracking].[ClosedDate]))<>False))
ORDER BY tblTracking.Tatno;
qryTick is a UNION query. When I executed the query as shown it returns lots of record which are correct. However, what I need is only one from each tblTracking.Tatno. I inserted TOP 1 after Select. I get only two records and only two records from the same tblTracking.Tatno. What am I doing wrong? Please help I need to solve the problem. I have done research during the last several days and have come out empty handed. THANK YOU.