Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Public Sub testdate()
Dim rs As DAO.Recordset
Set rs = CurrentDb.OpenRecordset("products", dbOpenDynaset)
Debug.Print "Show it is at 1st record: " & rs.AbsolutePosition
rs.AddNew
rs!ProductName = "New Product"
rs.Update
Debug.Print "Show it not at the new record: " & rs.AbsolutePosition
rs.FindFirst "Productname = 'New Product'"
Debug.Print "Show it is moved to the new record: " & rs.AbsolutePosition
End Sub
DoCmd.GoToRecord , , acNewRec
Private Sub Form_BeforeUpdate(Cancel As Integer)
DoCmd.SetWarnings False
Cancel = True
End Sub