removing spaces

G

Guest

If I have imported records , that have the city, state and I want to put the
state in a seperate cell, but there are spaces to the right of the state, my
access query will not do this unless I remove the spaces to the right. All
the spaces to the right of the state are not the same. Is there a query that
will remove the spaces and put the state in the next column?
 
M

Marshall Barton

"seperating city and state" <seperating city and
If I have imported records , that have the city, state and I want to put the
state in a seperate cell, but there are spaces to the right of the state, my
access query will not do this unless I remove the spaces to the right. All
the spaces to the right of the state are not the same. Is there a query that
will remove the spaces and put the state in the next column?

Can you use the Trim (or RTrim) function to do this?
 

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