MS Access: Last Function
The Microsoft Access Last function returns the last value from the result set of a query.
Last Function (Syntax)
The syntax for the Last function is:
Last ( expression )
expression is the value that you'd like to return from the result set. The Last function only returns the last value in the result set.
The Last function can be used in the following versions of Microsoft Access:
- Access 2013, Access 2010, Access 2007, Access 2003, Access XP, Access 2000
In this example, the Last function would return the last SupplierID value.
Last Examples (in SQL/Queries)
You can use the Last function in a query in Microsoft Access.