Think of a table as a bucket of marbles - it has no distinct order that you can recognize unless you apply one to its datasheet view such as ordering ascending/descending on a date/time field, or autonumber field for example. LAST is the last function you'd want to use on an unordered set because more than likely, it doesn't mean what you think. Last will give you whatever is the last record, and that can change over time.
For a single value like this, better to do a DLookup using criteria as it is the simplest method. Or use Max or DMax.
Forgot to add something with respect to your original question. Depends on whether or not the textbox is bound. If not, you could use the DLookup or an expression using Max or DMax as the textbox control source. If it is bound, then the form must have a record source, in which case make the desired field part of the recordsource and bind the textbox to it.
Last edited by Micron; 11-18-2019 at 05:24 PM.
Reason: added info
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.