dharkangel
MIS
I have this SQL statement that is throwing an error saying there is a comma in the query expression. The problem is that is the way the data is in the database. the 'UserName' variable looks like this:
Smith, Jane
Doe, John
And so does the [Assigned To] variable
MySQL = "SELECT [Issue ID] FROM QPTActions WHERE [Assigned To] = " & UserName & ";"
How can I get around this?
Thank you.
Smith, Jane
Doe, John
And so does the [Assigned To] variable
MySQL = "SELECT [Issue ID] FROM QPTActions WHERE [Assigned To] = " & UserName & ";"
How can I get around this?
Thank you.