delete spaces between last name and first name

R

Ra

Hi,

I have a table downloaded from a site with a list of names like that:

Alameddine, Jacob
ALBRECHT, DAVID
Alcantara Plata, Rigoberto
BARTOLOMEO, ANTONIO

I need to get the names with no spaces in between the last name, and first
name, such as:

Alameddine,Jacob
ALBRECHT,DAVID
Alcantara Plata,Rigoberto
BARTOLOMEO,ANTONIO

Any idea son how I can put a condition in a query or SQL?

Any help would be greatly appreciated.

Thank you,
 
F

fredg

Hi,

I have a table downloaded from a site with a list of names like that:

Alameddine, Jacob
ALBRECHT, DAVID
Alcantara Plata, Rigoberto
BARTOLOMEO, ANTONIO

I need to get the names with no spaces in between the last name, and first
name, such as:

Alameddine,Jacob
ALBRECHT,DAVID
Alcantara Plata,Rigoberto
BARTOLOMEO,ANTONIO

Any idea son how I can put a condition in a query or SQL?

Any help would be greatly appreciated.

Thank you,

NoSpace:Replace([FieldName],", ",",")

The above will only remove the space after the comma, and leave any
spaces within the name ,if any, i.e. van den Steen,Henry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top