Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Marion G
 
Posts: n/a
Default How do I compare dates in a Word IF field?

I want to compare a specific date with a date coming in via a MERGEFIELD.
I've set it up as {IF "12/12/2005" {MERGEFIELD DATE} "Static date is later"
"Static date is earlier"}. What's happening is the opposite of what I expect.
My MERGEFIELD DATE is 12/12/2004 and the field results are showing "Static
date is earlier". If I change the static date to "12/12/03", I get "Static
date is later". I suppose I could get around it by doing the opposite to what
I think is logical, but I'd really like to understand what's going on. Can
someone help please?
 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I divide a page into three sections? Bonnie Microsoft Word Help 3 May 8th 23 02:47 AM
saving the workspace Mike Microsoft Word Help 3 December 8th 04 11:32 PM
How do I insert and format part of a data field in a Word document Graham Blundell Microsoft Word Help 4 December 1st 04 02:51 PM
How does Word compare to its contemporaries? PoniKika Microsoft Word Help 2 November 27th 04 09:16 PM
How do I make a word document insert consequative dates on each p. Luvmysuv Microsoft Word Help 1 November 24th 04 12:30 AM


All times are GMT +1. The time now is 05:01 AM.

Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"