Problem : Error 2046 OnLoad: The command or action ‘GoToRecord’ isn’t available now.
I have this code in my DB’s onload. It gives me the runtime error 2046 described in the title.
Me.RecordSource = “OT_table”
DoCmd.GoToRecord acActiveDataObject, , acNewRec
DoCmd.GoToRecord acActiveDataObject, , acNewRec
Solution: Error 2046 OnLoad: The command or action ‘GoToRecord’ isn’t available now.
Open your form in design view. Click the Data tab, Allow Edits, and press F1.