Your expression will returnr the value of the LodgeNo field from the
Validation_Assessment table for the record that has the highest
Validation_Assessment_ID.
If it's not doing that, I don't know what's going on on your pc.
Thanks for the reply but it doesn't work. I tried adding the space and
DESC
at the end but no help.
:
You omitted the space and DESC in the last argument (so it sorts in
descending order.)
I Tried the this but no help
=ELookup("LodgeNo","Valuation_Assessment","Valuation_Assessment_ID")
--
help a friend help you
:
I think you are asking how you can get the value from another field
in
a
table, using the autonumber to determine which was the last record
added?
If so, DMax() is not up to the task, and neither is DLookup().
There's an extended replacement for DLookup() here:
http://allenbrowne.com/ser-42.html
It will allow you to do something like:
=ELookup("MyOtherField", "MyTable", , "[MyAutonumber] DESC")
Hi all,
How can i use dmax to get the latest field in a table?
I tried the code below but i get the autonumber field.
dmax("AutoFieldName","TableName")