Hi all,
I am a complete novice when it comes to code but I have managed to stumble through until I hit this error.
'Syntax error (missing operator) in query expression
'[TBL_Client].[ContactName]=Stefan Teat'
My code is
I am using Access 2010 and what I am doing is using a search form to show a list of
records coming from a search text box that the user enters data into, to reduce the search.
From this, the user can then double click a record and up pops a new form window with all
of the data associated with that record.
Here is a link to my database if you want to view it (it's 49mb in size though)
https://dl.dropboxusercontent.com/u/...p.v9.100.accdb
Please help.... and many thanks in advance
I am a complete novice when it comes to code but I have managed to stumble through until I hit this error.
'Syntax error (missing operator) in query expression
'[TBL_Client].[ContactName]=Stefan Teat'
My code is
Code:
Private Sub SearchResults_DblClick(Cancel As Integer)
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "FRM_Site_Popup"
stLinkCriteria = "[TBL_Client].[ContactName]=" & Me![SearchResults]
DoCmd.OpenForm stDocName, , , stLinkCriteria
records coming from a search text box that the user enters data into, to reduce the search.
From this, the user can then double click a record and up pops a new form window with all
of the data associated with that record.
Here is a link to my database if you want to view it (it's 49mb in size though)
https://dl.dropboxusercontent.com/u/...p.v9.100.accdb
Please help.... and many thanks in advance