removing dashes from SSN

aglabrat

New member
Local time
Today, 14:18
Joined
Jan 4, 2013
Messages
4
In my table I use the SSN format. In my query I want the SSN without the dashes. Could someone help with this. I have thought about using Left, Mid, Right, string function but can't find proper usage of these in queries.

Any help would be appreciated.
 
You can use the Replace function as follows:

SELECT Replace([SSN],"-","") as SSNNoDashes
FROM tableanme
 
You just need the Replace function.
 
I may not have explained it well. I do not want to chege the data in my table. I built the query to fill a report. The person wanting the report does not want the dashes in the report.

Thanks for the quick responses and any help you cann give on this
 
The suggestion provide does not change the data it will show 'AS' SSN with no dashes..
 
Try using the replace function in the query. Access has its quirks. Search youtube under my user name. I made a video specifically for this issue.
 
This is almost a 7 year old thread. I hope you're not just spamming our forum.
 
i already reported it as a possibility paul
 
Just a joke dude. Reports go to all moderators.
 

Users who are viewing this thread

Back
Top Bottom