Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / July 2004

Tip: Looking for answers? Try searching our database.

Conditional Dates

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Barry - 20 Jul 2004 20:41 GMT
I am trying to use the following statement in a mail merge
document:
 { IF { MERGEFIELD DATE } <= 11/15/2001
I have provided two options for the balance of the If Then
Statement however the results do not seem to have any
logic to which statement it provides.

Is there something special about using dates in an If then
condition?

Thanks
Barry
macropod - 21 Jul 2004 00:26 GMT
Hi Barry,

To do conditional tests like this with dates, you need to express them in
ISO format (i.e. yyyymmdd).

Try:
{ IF { MERGEFIELD DATE \@ yyyymmdd} <= 20011115

Cheers

> I am trying to use the following statement in a mail merge
> document:
[quoted text clipped - 8 lines]
> Thanks
> Barry
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.