Hi I have having this error message "Microsoft OLE DB Provider for SQL Server error '80040e14'

Invalid column name 'gonzalez'.

When I try to run this query I just made. This website has a search box that I type in that searches all the last names in corporate directory.

    SecurityQuery = "SELECT * FROM dbCorpDir.dbo.vwEmployees WHERE sn like '" & FormatDBTextSearch(Last_Name) & "' ORDER BY sn;"

Related posts

Recent Viewed