How do I find more than 1 space between words in a text field, th.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have several text fields that contain 1 or more spaces between words. How
do I use Find and Replace to locate two or more spaces together and replace
two or more spaces with one space?
 
I have several text fields that contain 1 or more spaces between words. How
do I use Find and Replace to locate two or more spaces together and replace
two or more spaces with one space?

I'm not sure you can with Find and Replace - have you tried just
typing two blanks in the Find line?

In an Update query you can update the field to

Replace([fieldname], " ", " ")

Keep running the query repeatedly until it has whittled down the
fields with " " to a single blank.

John W. Vinson[MVP]
Join the online Access Chats
Tuesday 11am EDT - Thursday 3:30pm EDT
http://community.compuserve.com/msdevapps
 

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

Back
Top