bill201
asked on
how to replace a character in a table in access 2013
hi
how can i change - with sql string or vba- a character in a table to another character, for example i want that in my product table every time that it's find a Apostrophe to change it to a Quotation mark. something like this
how can i change - with sql string or vba- a character in a table to another character, for example i want that in my product table every time that it's find a Apostrophe to change it to a Quotation mark. something like this
replace (ProductName,"'",""")
. but i don't know how update a field with replace function on a query.
ASKER
it's not working
i get an error message syntax error with in update statement
i get an error message syntax error with in update statement
Can you post the exact error message. It is just a simple UPDATE statement.
Reference: http://msdn.microsoft.com/en-us/library/office/bb221186(v=office.12).aspx
Reference: http://msdn.microsoft.com/en-us/library/office/bb221186(v=office.12).aspx
ASKER
hi
this is the code
and the error message it's like i wrote "syntax error with in update statement" i don't get more details
this is the code
UPDATE IskitReportTemp
SET replace (ProductName,"'",""");
and the error message it's like i wrote "syntax error with in update statement" i don't get more details
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SET replace (ProductName,"'",""");