tech on the net

MS Access: First Function

Learn how to use the Access First function with syntax and examples.

Description

The Microsoft Access First function returns the first value from the result set of a query.

Syntax

The syntax for the Microsoft Access First function is:

First ( expression )

Parameters or Arguments

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

Example

First (SupplierID)

In this example, the First function would return the first SupplierID value.

Applies To

The First function can be used in the following versions of Microsoft Access:

Example (in SQL/Queries)

You can use the First function in a query in Microsoft Access.

Microsoft Access