I have a table that has an order number, a date when the status was changed and what the status was previously. One order can have several status changes.
I need to be able to only show orders where within the order group there is a record at any time showing it as unfilled and the most current record is closed.
is that possible? Or am I just going about this the wrong way?
So it would show this group
Order123 unfilled 03/20/2011
Order123 inquiry 03/21/2011
Order123 Closed 03/22/2011
but not this one
order456 Inquiry 03/20/2011
order456 Active 03/21/2011
Order456 Closed 03/22/2011
I've tried googling this but I'm not coming up with the right words.
Thank you
VE