Export them from a query rather than directly from the table. Use the
Format() function to format them the way you want it. But you need to get
your data in a consistant form first. You can use the Replace function
(Access 2000 or above) to remove all of the dashes. You can do this in one
statement in your query.
SELECT Format(replace([PhoneField],"-",""),"@@@-@@@-@@@@") AS Phone
FROM MyTable;
In the query builder, it looks like this in the Field column:
Phone: Format(replace([PhoneField],"-",""),"@@@-@@@-@@@@")
--
--Roger Carlson
MS Access MVP
Access Database Samples:
www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/wa.exe?SUBED1=ACCESS-L