Create a query with the indicator and detail records tables. Join indicator#
one to one. Add fields as needed. In the criteria for [DateOfData] place
>#yourdate#.
> Please help with a query that will provide a list of delinquent entries.
> I
[quoted text clipped - 16 lines]
> Many
> thanks in advance.
That is what sounded logical to me in the beginning, but the result I get is
a blank dataset. There are no dates in the "INDICATOR" table; therefore,
when I put a >date in the [DateOfData] field from the "DETAIL RECORDS"
table, it will only reference data from the "DETAIL RECORDS" table.
Maybe I'm using the wrong terminology. I need to 'extract' records from the
"INDICATOR" table that have no matching Inidicator Numbers in the "DETAIL
RECORDS" table for a date greater than the date I enter in the [DateOfData]
field from the "DETAIL RECORDS" table.
> Create a query with the indicator and detail records tables. Join indicator#
> one to one. Add fields as needed. In the criteria for [DateOfData] place
[quoted text clipped - 22 lines]
> > Many
> > thanks in advance.
John Vinson - 04 Nov 2005 23:58 GMT
>Maybe I'm using the wrong terminology. I need to 'extract' records from the
>"INDICATOR" table that have no matching Inidicator Numbers in the "DETAIL
>RECORDS" table for a date greater than the date I enter in the [DateOfData]
>field from the "DETAIL RECORDS" table.
You need a Subquery then:
SELECT * FROM INDICATOR
WHERE [Indicator Number] NOT IN
(SELECT [Indicator Number] FROM [Detail Records]
WHERE [Detail Records].[DateOfData] > [Enter date:])
John W. Vinson[MVP]