Sorry - I'm getting a Syntax error.............
Try this --
SELECT DISTINCTROW T1.[Item ID], T1.[Item Description], T1.[MFG Order #],
T1.[Order Status], T1.[Order Qty], T1.[Balance Due], T1.[Opern Description],
T1.[Work Center], T1.[Start Date], T1.[Due Date], T1.[Fiscal Year],
T1.[Fiscal Week]
FROM [18 - Machining Sort] AS T1
WHERE (((T1.[Start Date])=(SELECT MAX([Start Date]) FROM [18 - Machining
Sort] T2 WHERE T2.[Item ID] = T1.[Item ID] AND T2.[Due Date] = T1.[Due
Date])))
ORDER BY T1.[Item ID], T1.[Due Date];

Signature
KARL DEWEY
Build a little - Test a little
> Sorry - I'm getting a Syntax error.............
>
[quoted text clipped - 15 lines]
> >Thanks,
> >Lori
Lori2836 - 30 Mar 2007 16:16 GMT
Thanks Karl...........still getting a syntax error........it doesn't like
this section
SELECT MAX([Start Date]) FROM [18 - Machining
Sort] T2 WHERE T2.[Item ID] = T1.[Item ID] AND T2.[Due Date] = T1.[Due
Date])
Anymore ideas?
>Try this --
>SELECT DISTINCTROW T1.[Item ID], T1.[Item Description], T1.[MFG Order #],
[quoted text clipped - 12 lines]
>> >Thanks,
>> >Lori
KARL DEWEY - 30 Mar 2007 16:40 GMT
Try taking out the hard return in -
FROM [18 - Machining
Sort]

Signature
KARL DEWEY
Build a little - Test a little
> Thanks Karl...........still getting a syntax error........it doesn't like
> this section
[quoted text clipped - 21 lines]
> >> >Thanks,
> >> >Lori
Lori2836 - 30 Mar 2007 16:55 GMT
It worked! Thanks........but it didn't do what it was supposed to. Just
give me the first Item ID record of many..........I'm looking to have the
query return only the first Item ID with the earliest start date and/or due
date......I may have 4 of the same Item ID with different dates........only
interested in seeing 1 of the 4 records..........
>Try taking out the hard return in -
>FROM [18 - Machining
[quoted text clipped - 5 lines]
>> >> >Thanks,
>> >> >Lori
KARL DEWEY - 30 Mar 2007 17:14 GMT
Post sample data and what you expect from the query of that data.

Signature
KARL DEWEY
Build a little - Test a little
> It worked! Thanks........but it didn't do what it was supposed to. Just
> give me the first Item ID record of many..........I'm looking to have the
[quoted text clipped - 11 lines]
> >> >> >Thanks,
> >> >> >Lori
Lori2836 - 30 Mar 2007 18:11 GMT
Item ID Item Desc Mfg #
Start Date Due Date
8221043 LHB06EPG SUB ASSY 0635210 5/8/2007
5/10/2007
8221043 LHB06EPG SUB ASSY 0635210 5/10/2007
5/12/2007
8221043 LHB06EPG SUB ASSY 0635210 6/15/2007
6/18/2007
This is the type of data my query is returning, but all they want to see is
the very first set of records, because as long as they see the one, the
others have no meaning. I just can't seem to filter out all but the one
record. Does this make sense?
>Post sample data and what you expect from the query of that data.
>> It worked! Thanks........but it didn't do what it was supposed to. Just
>> give me the first Item ID record of many..........I'm looking to have the
>[quoted text clipped - 11 lines]
>> >> >> >Thanks,
>> >> >> >Lori
KARL DEWEY - 30 Mar 2007 18:38 GMT
Try this --
SELECT DISTINCTROW T1.[Item ID], T1.[Item Description], T1.[MFG Order #],
T1.[Order Status], T1.[Order Qty], T1.[Balance Due], T1.[Opern Description],
T1.[Work Center], T1.[Start Date], T1.[Due Date], T1.[Fiscal Year],
T1.[Fiscal Week]
FROM [18 - Machining Sort] AS T1
WHERE ((T1.[Start Date])=(SELECT Min([Start Date]) FROM [18 - Machining
Sort] T2 WHERE T2.[Item ID] = T1.[Item ID] ))
ORDER BY T1.[Item ID], T1.[Due Date];

Signature
KARL DEWEY
Build a little - Test a little
> Item ID Item Desc Mfg #
> Start Date Due Date
[quoted text clipped - 16 lines]
> >> >> >> >Thanks,
> >> >> >> >Lori