A
Afrosheen via AccessMonster.com
Thanks for reading this.
I'm getting two types of errors in my sql statement.
1) This has to deal with a name field I have. The last and first are
separated by a comma Like: Doe, James. Syntax error (comma) in query
expression 'Supervisor = Adams, Tim'
2) The second one has to do with an missing operator. Syntax error (missing
operator) in query expression 'Supervisor = Adams Tim'
This is the code: sql5 = "update tblMain set Supervisor = Null where
Supervisor = " & supname
What I'm trying to do is every record where "adams, tim" is will change to
null. The supname is selected from a combo box of Supervisors.
Thanks for your help.
I'm getting two types of errors in my sql statement.
1) This has to deal with a name field I have. The last and first are
separated by a comma Like: Doe, James. Syntax error (comma) in query
expression 'Supervisor = Adams, Tim'
2) The second one has to do with an missing operator. Syntax error (missing
operator) in query expression 'Supervisor = Adams Tim'
This is the code: sql5 = "update tblMain set Supervisor = Null where
Supervisor = " & supname
What I'm trying to do is every record where "adams, tim" is will change to
null. The supname is selected from a combo box of Supervisors.
Thanks for your help.