M
mikebres
My data is scan data that shows the LabelID, Scan Date Time (SDT) and an
event type for each scan. I want to find each unique First SDT that
corresponds to the event type "03" which is the Induction time. So the
result will be a list of each Induction date available that I can enter into
a combobox for data selection. Using the query below worked until I came
across one LabelID that had two "03" events. So now I have an indcution date
that is a mistake in the process. Which is good to know, but it doesn't give
me the dates I need for the selection.
So, how would I change this to get result I need?
SELECT DISTINCT Int([eSDT]) AS IndDates, data.eCode
FROM data
GROUP BY Int([eSDT]), data.eCode
HAVING (((data.eCode)="03"));
Thanks
Mike
event type for each scan. I want to find each unique First SDT that
corresponds to the event type "03" which is the Induction time. So the
result will be a list of each Induction date available that I can enter into
a combobox for data selection. Using the query below worked until I came
across one LabelID that had two "03" events. So now I have an indcution date
that is a mistake in the process. Which is good to know, but it doesn't give
me the dates I need for the selection.
So, how would I change this to get result I need?
SELECT DISTINCT Int([eSDT]) AS IndDates, data.eCode
FROM data
GROUP BY Int([eSDT]), data.eCode
HAVING (((data.eCode)="03"));
Thanks
Mike