Consider the following SQL code
Code:
SELECT [tblPersonnel].[PersonnelID], [FirstName] & " " & [LastName] AS FullName, emailaddress FROM tblPersonnel ORDER BY [FirstName] & " " & [LastName] WHERE FullName IS NOT NULL;
The last part WHERE FullName IS NOT NULL
was added to the SQL statement to prevent the combo box from selecting or allowing blank spaces. The semi-colon was moved to the end of the line when the new SQL code as shown above was added.
Now I get a error whenever I click on the combo box to access its choices of employee names.
The error is shown in the attached snagit screen files. It claims there is a syntax error, but all I did was insert the SQL code fraction (above) and then place the semi-colon at the end of the now longer line of code. I do not see this as causing an error.
What is going on?
Any help appreciated. tanks in advance.
Respectfully,
Lou Reed