For some inexplicable reason one of my date merges in a form letter won’t format. Let me explain better. If I use a format switch (@ “d MMMM yyyy”) it displays today’s date but as soon as I remove the switch it shows the correct date but in the format (UK) 23/08/02 00:00:00.
Can anyone tell me why this is happening?
Thanks
Peter
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Date Formats in Mail Merge (W2K SP1)
Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Date Formats in Mail Merge (W2K SP1)
- This topic has 8 replies, 3 voices, and was last updated 22 years, 7 months ago.
AuthorTopicWSherworth
AskWoody LoungerAugust 23, 2002 at 6:27 pm #375447Viewing 2 reply threadsAuthorReplies-
WBell
AskWoody_MVPAugust 23, 2002 at 6:57 pm #611072A couple of questions: What is you data source – a Word doc, and Excel workbook or Access database? And where are you viewing your field result, in the main document or in the resulting merged document.
If you are pulling the date from the system clock, the normal template (or whatever template is associated with the main merge doc) will control how a date is displayed by default. If on the other hand you are bringing it in from Excel or Access, they are likely to control the default display, which of course you can change is you indicate. Hope this helps.
-
WSherworth
AskWoody LoungerAugust 24, 2002 at 4:19 pm #611192Wendell
The process starts in Access. My code does a transfertext (Word MailMerge) to a text file and then opens the appropriate Word Doc. Most of the Docs work lt’s just 2 that get a recontact date originally from a Access Query via the txt file have suddenly stopped using the date as transferred when it is formatted. If I take the format off it shows the correct date but if I format it, it shows today’s date (in the format I want – but wrong date).
As I say, other merges work so I just can’t fathom it.
Peter -
WBell
AskWoody_MVPAugust 25, 2002 at 10:53 am #611263Hi Peter,
This is a bit of a puzzle. Question – are you viewing the merged document or are you looking at the main document with the option set to view sample data rather than field codes?
If it’s the latter, try actually mergeing a few records and see what is displayed. If it’s the former, is it possible that you’ve named the field “Date” which will likely confuse Word into supplying the current date rather than the intended field data.You might also consider taking your data directly from Access instead of creating a text file – we normally run merges that way unless we want to do some editing of the merge text before we run the merge. There are pros and cons to each approach, but the clutter of text files that get created is eliminated. Let us know what you find.
Wendell
-
WSherworth
AskWoody LoungerAugust 26, 2002 at 4:56 pm #611482Wendell
First of all I use a txt file between Access and Word because I operate most things via code from Access and I find opening a mailmarge letter directly linked to Access opens a 2nd Access file usually in a smaller window.
Plus I often kill the text files after use.
The date thing is baffling me. It shows today’s date in the sample or the merge when formatted. The mergefield record is called Recontact (I changed loads of fields with dodgy names a long time ago) and shows up correctly in the txt file (altho of course not formatted the way I want). I did notice however, that if I remove the time element from the txt record the mergefield then formats the way I want in the Word Doc (does that make sense?)
Peter -
WBell
AskWoody_MVPAugust 26, 2002 at 10:50 pm #611566That is a puzzle – why removing the time portion of the date would cause the date to display the correct information is a mystery. We routinely run date fields in merges and all is happy, though as I indicated in most cases we don’t create a text file. BTW, the problem with the second Access window is one that can be solved. Two things can cause that – the first is changing your application name to something other than “Microsoft Access” and the second is using Access security so that you get a login prompt. To make things behave better, change your application name so it says “Microsoft Access – My Application” – the security thing is harder to derail, but usually rears it’s head once the merge document has been saved in a confused state. If you are using security, let us know and I’ll try to go into some detail.
-
-
-
-
-
WSPhil Rabichow
AskWoody LoungerAugust 23, 2002 at 7:37 pm #611075Hi Peter:
Go into Start/Settings/Control Panel/Regional Settings/Date tab. Change the default short date style from
dd/MM/yy h:mm:ss (a guess, based on what you’re getting)
to
d MMMM yyyyBUT, make sure that you will be using that format all the time. You won’t be able to get a field to use a shorter format unless you either alter the Regional Settings or use a time switch.
Cheers, -
WSherworth
AskWoody LoungerAugust 27, 2002 at 8:00 pm #611797Wendell
I searched the KB and found this:
http://support.microsoft.com/default.aspx?…US;q220547&%5B/url%5D
(I really should find out how to do do those little links – is it the same as html hyperlinks, I wonder?)
I thought you and anyone else (including Phil, thanks) who’s followed this thread might be interested.
PeterEdited: and[/i]%20″] and tags added around the URL to make the link live. It’s that easy! -Mod.
-
WBell
AskWoody_MVPAugust 27, 2002 at 6:23 pm #611835I dismissed that article, as it referred to merges using an ODBC data source. Is your text file being used as an ODBC data source?
BTW, there is a link to the 1-Click TagPanel just to the right of the message subject that will create the HTML to display an active link. You can also type it as [ url ]www.mysite.com[ /url ]. Take out the spaces inside the brackets, and you can do a preview to see what you are about to post.
-
Viewing 2 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
OneDrive File Sharing Changes
by
David Clark
1 hour, 54 minutes ago -
OneDrive File Sharing Changes
by
David Clark
3 hours, 58 minutes ago -
Win 10 Pro 22H2 to Win 11 Pro 23H2 Conversion Guide
by
doneager
31 minutes ago -
Today is world backup day
by
Alex5723
7 hours, 12 minutes ago -
Windows .exe on Mint
by
Slowpoke47
5 hours, 31 minutes ago -
Reviewing your licensing options
by
Susan Bradley
3 minutes ago -
Apple has been analyzing your photos since September 2024
by
B. Livingston
35 minutes ago -
What Windows 11 24H2 offers beyond bugs
by
Lance Whitney
4 hours, 44 minutes ago -
Making sense of Settings in Windows 11
by
Simon Bisson
25 minutes ago -
Windows 11 pro fails to log in after upgrading Win 10 pro to Win 11 pro 24h2
by
ben_sitaud
1 hour, 48 minutes ago -
23H2 / 24H2 / Local v. Microsoft Account.
by
CWBillow
3 hours, 18 minutes ago -
YouTube Ad Blocker Blocker
by
bbearren
9 hours, 40 minutes ago -
Obscure historical facts about Windows
by
Cybertooth
1 hour, 23 minutes ago -
Microsoft Backup
by
Linda2019
17 hours, 1 minute ago -
What is the best notepad++ version for W7?
by
Picky
37 minutes ago -
What are right steps to move MS 365 Office+OneDrive files from PC to iMac?
by
glnz
1 day, 10 hours ago -
How to move existing MS 365 Office with OneDrive files from PC to new iMac
by
glnz
1 day, 10 hours ago -
How to move MS 365 files (some on OneDrive) from PC to iMac
by
glnz
2 days, 5 hours ago -
Microsoft adding Quick Machine Recovery to Windows 11
by
Alex5723
2 days, 5 hours ago -
Microsoft vs Passwords
by
Alex5723
1 day, 13 hours ago -
Windows 11 Insider Preview build 26200.5516 released to DEV
by
joep517
2 days, 9 hours ago -
Windows 11 Insider Preview build 26120.3653 (24H2) released to BETA
by
joep517
2 days, 9 hours ago -
Two March KB5053606 updates?
by
Adam
2 days, 2 hours ago -
MS Edge Not Updating to v134.0.3124.95 (rel. 27-Mar-2025)
by
lmacri
2 days, 3 hours ago -
Intel® Graphics/Sound Driver updates for 7th-10th Gen Intel® Core™ Processor
by
Alex5723
2 days, 5 hours ago -
Is there a comprehensve way to tranfer ALL current Edge Settings into a new Edge
by
Tex265
2 days, 4 hours ago -
Transferring ALL info/settings from current Firefox to new computer Firefox
by
Tex265
2 days, 4 hours ago -
DOGE Wants to Replace SSA 60 Million Line COBOL Codebase in Months
by
EyesOnWindows
2 hours, 23 minutes ago -
KB5051989 Usb printer Post Ipp
by
licencesti
2 days, 21 hours ago -
Removing bypassnro
by
Susan Bradley
3 hours, 45 minutes ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.