change spaces to _

  • Thread starter Help via AccessMonster.com
  • Start date
H

Help via AccessMonster.com

Is there a way for access to return what was being input into a text box

I am having trouble with trailing spaces (access text box removes it)
therefore I am thinking to format it to "_", therefore I am still able to
preserve the length
 
P

PieterLinden via AccessMonster.com

Help said:
Is there a way for access to return what was being input into a text box

I am having trouble with trailing spaces (access text box removes it)
therefore I am thinking to format it to "_", therefore I am still able to
preserve the length

try using Replace()

strInput = Replace(strInput, " ", "_")
 

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