I have the following in Db:-
tbl_Est - Num_ClaimNo
- Date_Date
- Num_Estimate
I need this query to link to data in another table - tbl_Bord05, in which there is also a field called Num_Estimate and Num_ClaimNo.
I need to query tbl_Est to return the highest Date_Date for each Num_ClaimNo appearing in tbl_Est, where Num_ClaimNo also appears in tbl_Bord05.
I have had it working insomuch as the query (which I have now deleted) was returning the Num_ClaimNo, Datae_Date and Num_Estimate but only for one record - the one with the highest date!
Any assistance would be greatly appreciated. My limited success so far has come using the DMax function in the query criteria.
Happy to get any SQL that will do the trick.
Cheers in advance.
VJ
tbl_Est - Num_ClaimNo
- Date_Date
- Num_Estimate
I need this query to link to data in another table - tbl_Bord05, in which there is also a field called Num_Estimate and Num_ClaimNo.
I need to query tbl_Est to return the highest Date_Date for each Num_ClaimNo appearing in tbl_Est, where Num_ClaimNo also appears in tbl_Bord05.
I have had it working insomuch as the query (which I have now deleted) was returning the Num_ClaimNo, Datae_Date and Num_Estimate but only for one record - the one with the highest date!
Any assistance would be greatly appreciated. My limited success so far has come using the DMax function in the query criteria.
Happy to get any SQL that will do the trick.
Cheers in advance.
VJ
Comment