Format Fields in Word document

T

Tricia

I mail merge client info from our Access database into Word. How do I format
the fields?

Example - Time is displayed as 24 hours in Access (13:23), but comes through
as 12 hour clock in form fields (1:00 PM), telephone numbers come through
without brackets or dashes 5191234567

Thanks for any assistance
 
J

John W. Vinson

I mail merge client info from our Access database into Word. How do I format
the fields?

Example - Time is displayed as 24 hours in Access (13:23), but comes through
as 12 hour clock in form fields (1:00 PM), telephone numbers come through
without brackets or dashes 5191234567

Thanks for any assistance

Base the mailmerge - not directly on your table - but on a Query. Use the
Format() function to cast the fields into strings for the mailmerge - e.g.
instead of using the [Phone] field use

ShowPhone: Format([Phone], "(@@@) @@@-@@@@")
 

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