Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Microsoft Support > Microsoft Office support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Microsoft Office support MS Office support forum

Reply
 
LinkBack Thread Tools
Old 08-01-2008, 12:56 PM   #1 (permalink)
Registered User
 
Join Date: Aug 2008
Posts: 3
OS: Vista


Mail merge - Access query results in Word

The problem is with a mail merge - data is from a query in Access (2002) merged with a document in Word (2002). The date in the data is in English format (dd/mm/yy) in the query and is changed to American format in Word (mm/dd/yy) - field codes (in Word) with an edit picture to swap around the day and month do not work because the month then shows in Word as zeroes. This problem shows with Office 2002 running under Vista but has also appeared with Office 2003 running under Windows XP. The computer settings correctly show that the date is set up for English settings. In this particular case one of the other columns of data from the query is picking up data from other fields in the record when viewed through Word - but is accurate when viewed as a query in Access. Is there a known problem with the Word-Access interface with 2002/2003? Any known solutions/workarounds?
hazelsusan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 08-02-2008, 04:59 AM   #2 (permalink)
TSF Enthusiast
 
Join Date: Apr 2008
Location: Australia
Posts: 563
OS: Vista


Re: Mail merge - Access query results in Word

Hi Susan,

using 'mm' in a formatting picture switch denotes 'minutes', not 'months'. Try using:
\@ "dd/MM/yy"
__________________
Cheers
macropod
(MS MVP -Word)
macropod is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-04-2008, 01:58 AM   #3 (permalink)
Registered User
 
Join Date: Aug 2008
Posts: 3
OS: Vista


Re: Mail merge - Access query results in Word

Many thanks for your response.
Sorry - I didn't express myself very clearly - the problem is that Word appears to be corrupting data from a query in Access. The date should show in English format in both the query and in the mail merge results - it has been changed to American format for some reason by Word itself (it looks OK when viewing query results in Access) and I don't know why. My attempts to reformat it in Word back to English format using field codes have had limited results. I can't find the option in Word where the date format is set - the computer settings themselves correctly show that the date format is English (which is what we want). The other problem is that another column (which also happens to be a date) shows random data from other fields (including items such as Post Code, Addresses) when, again, the results show correctly in the query in Access. It appears that Word has lost or corrupted formatting information when inputing the data from the query. I have asked the person who is experiencing these problems to reinstall Word - but as it is a problem I have seen elsewhere on a completely different system I would like to know if anyone else has had a similar problem? Many thanks for any info.
hazelsusan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-05-2008, 03:51 AM   #4 (permalink)
TSF Enthusiast
 
Join Date: Apr 2008
Location: Australia
Posts: 563
OS: Vista


Re: Mail merge - Access query results in Word

Hi Susan,

There is no date format option within Word, itself. Word relies on your computer's regional settings, for which you should ensure that the region and both the short and long date formats are all correct.

Even so, with a date picture switch, you must use 'M', 'MM', 'MMM' or 'MMMM' not 'm' or 'mm' to indicate months.

As for the corrupted output, it sounds like either:
. the mailmerge document has become corrupted or,
. perhaps your query isn't outputting empty fields, with the result that fields being output to the Word document are somethimes being offset Ifiguratively to the left) from their correct position. I don't know enough about this to comment further, though.

Given that the same problem manifests on two or more systems, I doubt that reinstalling Word will resolve the issue - running 'Detect & Repair' is the most that should be needed.
__________________
Cheers
macropod
(MS MVP -Word)
macropod is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-05-2008, 02:49 PM   #5 (permalink)
Registered User
 
Join Date: Aug 2008
Posts: 3
OS: Vista


Re: Mail merge - Access query results in Word

Thanks - I'll have another look to see if there are any empty fields causing the problem. Using dd/MM/yy works fine - but since all computer settings are for UK English I still don't know why the date is being changed anyway. I am on holiday for a week now so won't be able to try anthing more just yet. Many thanks.
hazelsusan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 05:59 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85