G
Guest
Hi,
I have a table with fields as follow:
PartNo, PoDate, Price, Contract
for each part there is a separate record representing each purchase order
there is no primary key.
I want to create a select query to get
find the LATEST PoDate entry for each part
and then give me the corresponding Contract and price
Using GroupBy PartNo and Max in the PoDate i can get the
latest PartNumber but i dont know how to go about getting the
CORRESPONDING contract and Price - i cant find anything meaningfull
to put int their respective totals section in the query builder.
could someone please advise me on the best way to solve this problem
Thanks
Shaun
I have a table with fields as follow:
PartNo, PoDate, Price, Contract
for each part there is a separate record representing each purchase order
there is no primary key.
I want to create a select query to get
find the LATEST PoDate entry for each part
and then give me the corresponding Contract and price
Using GroupBy PartNo and Max in the PoDate i can get the
latest PartNumber but i dont know how to go about getting the
CORRESPONDING contract and Price - i cant find anything meaningfull
to put int their respective totals section in the query builder.
could someone please advise me on the best way to solve this problem
Thanks
Shaun