Writing code that has multiple instructions on a single line isn't more efficient and it is extremely difficult for the reader to parse correctly.
Best practice is:
Code:
If (Me.[standard] <> "apple") And (Me.[frequency] = "annual") Then
strDocName = "report1"
msgbox "all good"
End If