Hi all,
Again I am blighted my eroneous syntax. Can anyone help please? I simply would like to use the "LIKE" operator to select only Assets that begin with XX.
I would also be grateful if someone could show me how to include an "AND"; this way I can have "LIKE" XX and LIKE AB"
Again I am blighted my eroneous syntax. Can anyone help please? I simply would like to use the "LIKE" operator to select only Assets that begin with XX.
I would also be grateful if someone could show me how to include an "AND"; this way I can have "LIKE" XX and LIKE AB"
Code:
Private Sub MyND_Click()
DoCmd.OpenReport "Fin Est", acViewReport, , "[Asset Number] Like XX" & "&*"""
End Sub