Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
AJ AJ is offline
external usenet poster
 
Posts: 36
Default string comparison

I have a mailmerge document with a datasource of an Access Table. I am
needing help. I am wondering what the syntax of a "Like" comparison statement
would be in Word. I have a text field with multiple selections in it, and I
need a different statement for each one. So, what I want is Word to look at
this field and if it has a 1 in this text field put in this statement and so
on. But there can be more than one statement for each letter. I have done
like statements in Access but can't seem to find a syntax for it in Word.
Basically what I am wanting is somewhat listed below:
{If {MergeField Reason} Like *1*, "put this in"}
{If {MergeField Reason} Like *M*, "put this in"}
and so on. Any help would be greatly appreciated..

Thanks,
AJ
 
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
Comparison Function Maurice Microsoft Word Help 1 October 2nd 08 04:17 PM
If fields for comparison [email protected] Microsoft Word Help 2 April 3rd 07 11:30 PM
Comparison Table PaulG Microsoft Word Help 0 March 28th 07 12:19 AM
Document Comparison Diane F Microsoft Word Help 1 March 11th 06 12:41 AM
document comparison software [email protected] Microsoft Word Help 0 June 10th 05 09:57 PM


All times are GMT +1. The time now is 10:55 AM.

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

About Us

"It's about Microsoft Word"