String function for update query?

  • Thread starter Thread starter Amit
  • Start date Start date
A

Amit

Windows XP, MS Access 2K
========================

Is there a "strip" function I can use in an Update query
to get rid of a certain character? I have a text field
called "phoneNumber" and the existing value is in the
format "123-456-7890". I'd like to replace it
with "1234567890".

Thanks!

-Amit
 
Windows XP, MS Access 2K
========================

Is there a "strip" function I can use in an Update query
to get rid of a certain character? I have a text field
called "phoneNumber" and the existing value is in the
format "123-456-7890". I'd like to replace it
with "1234567890".

Thanks!

-Amit

In Access 2002 yiou can use the Replace() function.
Exp:Replace([FieldName],"-","")
 

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