I have an afterupdate code set on a vlue in my form, this afterupdate goes to the following code:
Code:
Private Sub Request_Date_AfterUpdate()
Dim Request_Add As Integer
Request_Add = Me!Request_Number
Request_Add = Request_Add + 1
Me!Request_Number = Request_Add
DoCmd.Requery
DoCmd.GoToRecord ,,
End Sub
I have to requery in order for the data to be updated, the problem is that the cursor jumps to the first record in the table, and I need it to stay on the record being updated, can anyone fill in the blanks for me?? Thanks