Access: First Function

In Access, the First function return a field value from the first record in the result set of a query.

The syntax for the First function is:

First ( expression )

The required expression argument is the value that you’d like to return from the result set. The First function returns only the first value in the result set.

Example

Firts(ItemDesired)

This example uses the First function to return the first ItemDesired value.

SQL query

You can also use the First function in a query.

SELECT First([ItemDesired]) AS Expr1
FROM Orders
admin

admin

Leave a Reply

Your email address will not be published.