Remove Quoations from Names in ACCESS 2013

Huizar

Board Regular
Joined
Aug 11, 2016
Messages
94
My Access table has a column with employee names. Some names have quotation marks and some don't. How can I remove the quotation marks that surround the names on my table? Keep in my mind it's my main table I run to create my queries.


Thanks
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
If you go to the table view, you should be able to do a Find & Replace. Replace " with nothing.
 
Upvote 0
I found that option, but the problem is if I do a replace ALL it says "You can't replace the current value of the field with the replacement text. If I do a one by one replacement it works, but that would take too long.
 
Upvote 0
Are they single or double quotes?
 
Upvote 0
You can use an Update Query to do that.

You can use the Query Builder to build it. The SQL code for it would look something like:
Code:
UPDATE [I]TableName[/I]
SET [I]EmployeeNameField[/I] = Replace([I]EmployeeNameField[/I],"""","")
WHERE [I]EmployeeNameField[/I]<>"";
 
Upvote 0
Hey Joe,

Does that mean that I will always need that query in the query in the ALL OBjects Access column? sorry I'm very green when it comes to access.
 
Upvote 0
If you intend/need to run it more than once, you will want to save it. Then it will show up under the Query Objects.
If it is always being run on the same table, then all you need to do is double-click that saved query and it will run.
 
Upvote 0

Forum statistics

Threads
1,215,681
Messages
6,126,192
Members
449,298
Latest member
Jest

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top