Hi all,
Any reason why below code wont take me to a random record when opening a form?
Any reason why below code wont take me to a random record when opening a form?
Code:
Private Sub Form_Load()
DoCmd.OpenForm "Companyvalues"
DoCmd.GoToRecord acDataForm, "Companyvalues", acGoTo, Rnd
End Sub