hi,
i inserted a code under the dbl click of a listbox.
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "SERP Employees"
stLinkCriteria "[EmployeeName]='" & "'" & Me![List10]& "'"
DoCmd.OpenForm stDocName, acNormal, , stLinkCriteria
but I am getting syntax errors.
I want to dblclick on a person's name listed in the listbox. When I dblclick I will be transported to that person's record in the SERP Employees Form. Any suggestions.
i inserted a code under the dbl click of a listbox.
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "SERP Employees"
stLinkCriteria "[EmployeeName]='" & "'" & Me![List10]& "'"
DoCmd.OpenForm stDocName, acNormal, , stLinkCriteria
but I am getting syntax errors.
I want to dblclick on a person's name listed in the listbox. When I dblclick I will be transported to that person's record in the SERP Employees Form. Any suggestions.