LittleSmudge
Programmer
I'm sure this one has been covered before - but I can't seem to fine the right key words to search on
tblA
AId
FieldA1
etc ..
tblB
BId
ARef
BDate
FieldB1
etc..
tblA on the ONE end
tblB on the MANY end
tblA.AId = tblB.BRef
I want to return all records from tblA and just the latest record ( Max(BDate) ) from tblB
So the resulting dynaset will have the same number of records as exist in tblA.
( I'm using LEFT JOIN in case no records exist in tblB for a tblA record. )
Regards,
G LS
spsinkNOJUNK@yahoo.co.uk
Remove the NOJUNK to use.
tblA
AId
FieldA1
etc ..
tblB
BId
ARef
BDate
FieldB1
etc..
tblA on the ONE end
tblB on the MANY end
tblA.AId = tblB.BRef
I want to return all records from tblA and just the latest record ( Max(BDate) ) from tblB
So the resulting dynaset will have the same number of records as exist in tblA.
( I'm using LEFT JOIN in case no records exist in tblB for a tblA record. )
Regards,
G LS
spsinkNOJUNK@yahoo.co.uk
Remove the NOJUNK to use.