Connecting Tech Pros Worldwide Help | Site Map

Field Formatting Help

Newbie
 
Join Date: Sep 2006
Posts: 1
#1: Sep 3 '06
I have searched the Word Help and the Access Help, I have consulted the well used Access Bible that sits behind my desk, and to no avail...so now I consult the mighty brain trust that is "thescripts". I have merged a query with a form in word, mail merge..very simple. However, my fields will not retain the formatting I have so painstakingly created in Access. I lose my dashes in the Social Security number and the medium date formatting in the dates. Though the dates are not too big an issue, the Social Security Number is. Can anyone help me with the field switches in the merge field. or give me a source that I can get a good field switch listing?

Thankx,
PEB's Avatar
PEB PEB is offline
Expert
 
Join Date: Aug 2006
Location: Bulgaria
Posts: 1,380
#2: Sep 3 '06

re: Field Formatting Help


Hi,

For the correct formating in your mail merge result, you have to work in Word! Word gets the data but concerning formatting of dates and numbers Word applies the settings that you have done for the specified fields!

When you use the command insert field in Word there is an option preserve formatting! Or you are using other commands to do your fields?

Or you are doing it by using the VB script editor and Html?

In this case it's better to convert your Dates and numbers in text before visualise them in form in word!

To set the needed length of your fields use the size property like this: <input type="text" name="p" id="p" size="20" /> And yours fields will be fit!
msquared's Avatar
Administrator
 
Join Date: Aug 2006
Location: Dublin, Ireland
Posts: 10,865
#3: Sep 3 '06

re: Field Formatting Help


When you use an input mask in access it gives you the option to store the hyphens etc. with the data or not. Go to the table design view and go the the field that you need to change. Open the Input mask wizard
in the properties and follow through until you are given the option to save with or without mask. Save with mask.

Quote:

Originally Posted by PEB

Hi,

For the correct formating in your mail merge result, you have to work in Word! Word gets the data but concerning formatting of dates and numbers Word applies the settings that you have done for the specified fields!

When you use the command insert field in Word there is an option preserve formatting! Or you are using other commands to do your fields?

Or you are doing it by using the VB script editor and Html?

In this case it's better to convert your Dates and numbers in text before visualise them in form in word!

To set the needed length of your fields use the size property like this: <input type="text" name="p" id="p" size="20" /> And yours fields will be fit!

Reply