I'll try to explain what I'd like to see on my form
A calculated field which contains the value of the field (fieldA) that belongs to the record with the most recent date.
Finding the most recent date isn't hard, I made a calculationfield called (MaxDatefield) with the calculation =Max([Datefield])
But I need to know what the value is of another field in that same record and I can't seem to figure out the calculation.
I've tried:
=(SELECT [fieldA] FROM [form] WHERE [Datefield]=[MaxDatefield])
But it just doesn't work
As the whole is a bit more complicated than this, I really need to be able to have the result through a calculation field (and not a query).
Please help!
A calculated field which contains the value of the field (fieldA) that belongs to the record with the most recent date.
Finding the most recent date isn't hard, I made a calculationfield called (MaxDatefield) with the calculation =Max([Datefield])
But I need to know what the value is of another field in that same record and I can't seem to figure out the calculation.
I've tried:
=(SELECT [fieldA] FROM [form] WHERE [Datefield]=[MaxDatefield])
But it just doesn't work
As the whole is a bit more complicated than this, I really need to be able to have the result through a calculation field (and not a query).
Please help!