I'm trying to get my list box database to open up another form that contains more information on the selected record. I can get it to open the form just fine, but it always opens o the first record, rather than the one I have selected.
My error message is: Run-time error '3075': Syntax error (mising operator) in query expression 'Serial Number = 7632-562'.
All my records in the database are made up numbers and letters, as I am just testing it out now before using real entries.
My code is:
Expand|Select|Wrap|Line Numbers
- Private Sub SearchList_DblClick(Cancel As Integer)
- DoCmd.OpenForm "frmInfo", acNormal, , "Serial Number = " & Me![SearchList].Value
- End Sub
Thanks to anyone with advice!