The code behind this button is now:
Private Sub TalkingBooksUsers_Click()
On Error GoTo Err_TalkingBooksUsers_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Talking Books Users"
DoCmd.OpenForm "Talking Books Users", acFormDS
DoCmd.OpenForm stDocName, , , stLinkCriteria
I have created a new form and set it to open in datasheet view, but when the command button is clicked it opens in form view. However, opening the form directly opens it as datasheet, so what am I doing wrong?