I have a data base with phone numbers as: (999)999-9999. I need to get rid on
the () and - in order to use with a dialer. How?
If the () and - is actually STORED in the table (as opposed to just
being displayed by an input mask or the format property), you can
remove the extra characters using an Update query.
If you're version of Access has the Replace() function, then write 3
queries:
Update YourTable Set YourTable.[PhoneField] =
Replace([PhoneField],"(","");
Update YourTable Set YourTable.[PhoneField] =
Replace([PhoneField],")","");
Update YourTable Set YourTable.[PhoneField] =
Replace([PhoneField],"-","");
If you have a version without the Replace function you would need to
write a User Defined function. Post back if this is the case.