To Requery a Record Source and then return to the Current Record, where [UniqueID] is a Field unique to only one Record, you can use something like this:
Where [UniqueID] is Text
Code:
Private Sub SaveRequeryReturn_Click()
Dim UF_Rec As String
UF_Rec = Me!UniqueID
Me.Requery
Me.Recordset.FindFirst "[UniqueID] = '" & UF_Rec & "'"
End Sub
Where [UniqueID] is Numeric
Code:
Private Sub SaveRequeryReturn_Click()
Dim UF_Rec As Integer
UF_Rec = Me!UniqueID
Me.Requery
Me.Recordset.FindFirst "[UniqueID] = " & UF_Rec
End Sub
Not sure, from your description, exactly what you're doing, but if the 'desired results' involves calculations, as simply Me.ReCalc may be what you need. ReCalc does just that, reruns all calculations...without moving focus to the first Record.
Linq ;0)>
The problem with making anything foolproof...is that fools are so darn ingenious!
All posts/responses based on Access 2003/2007