In that case, an update query might not be the easiest solution, unless you have additional criteria to determine which one of the group you want to update...
Using VB, you can create a query to select records from the group, open it as recordset, and update the first record. The code below is just a template to illustrate the idea.
(°v°)
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
|
strSQL _
= " SELECT * FROM Table1" _
& " WHERE Status = 'In-House'" _
& " AND Itemname = '" & subFormName.Itemname & "'"
With CurrentDb.OpenRecordset(strSQL)
.Edit
!Status = "Off-site"
.Update
End With
subFormName.Requery
|