You could use DMax and DMin. How you do it depends on what determines the
first and last records. In general:
=DMax("[Field1]","[TableName]","[ID] = " & [ID]
Where ID is the name of the linking field.
If Field1 is the field that detemines first and last:
=Max([Field1])
=Min([Field1])
All of these expressions are written as the control source of an unbound
text box, but you could use them in a query or in VBA, with modified syntax.
my subform has a recordset. On each record selection (form OnCurrent) how
to
get "field1" value from the first record and last the record.