E
Eddy
I have a table with who is holding an invoice file. The table holds the
invoice id, name, date the file was assigned to them. What I am trying to do
is find who is assigned to the invoice.
I run this statement and it pulls me the "right" date
SELECT CollectorDetails.InvoiceID, Max(CollectorDetails.Date) AS MaxOfDate
FROM CollectorDetails
GROUP BY CollectorDetails.InvoiceID;
Problem is that I want the NAME of the collector and if I add it, no matter
what I do it shows everyone that was assigned to ever invoice. All I want is
the invoice id, the date and the name of the collector holding it.
Can anyone help??
Thank you.
invoice id, name, date the file was assigned to them. What I am trying to do
is find who is assigned to the invoice.
I run this statement and it pulls me the "right" date
SELECT CollectorDetails.InvoiceID, Max(CollectorDetails.Date) AS MaxOfDate
FROM CollectorDetails
GROUP BY CollectorDetails.InvoiceID;
Problem is that I want the NAME of the collector and if I add it, no matter
what I do it shows everyone that was assigned to ever invoice. All I want is
the invoice id, the date and the name of the collector holding it.
Can anyone help??
Thank you.