Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
using an alphanumeric "word" as a field value in an IF statement
I am attempting to create an IF THEN ELSE statement where the field value I'm
selecting by is alpha numeric. For example, if I have "06s1" in the compare to field, the merged document will always insert the "then" option. If I modify it and have "06-s-1" in the compare to field, the funtion works properly an inserts the appropriate option - then or else. Is there some coding I can do so that the function can recognize a "word" with both numbers and letters in it? |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
using an alphanumeric "word" as a field value in an IF statement
Hi ?B?U29tYQ==?=,
I am attempting to create an IF THEN ELSE statement where the field value I'm selecting by is alpha numeric. For example, if I have "06s1" in the compare to field, the merged document will always insert the "then" option. If I modify it and have "06-s-1" in the compare to field, the funtion works properly an inserts the appropriate option - then or else. Is there some coding I can do so that the function can recognize a "word" with both numbers and letters in it? Have you tried putting both the left and right-hand sides of the comparison in "quotes"? That should tell Word to interpret both sides as text. Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005) http://www.word.mvps.org This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-) |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Include an or option in IF statement: IF field = _ OR= _ then | Mailmerge | |||
Enter text in a field and have it appear as entered elsewhere | Microsoft Word Help | |||
IF THEN ELSE Statement built by searching for a word in a Text Field | Mailmerge | |||
IF THEN ELSE Statement built by searching for a word in a Text Field | Mailmerge | |||
Text Form Field Ref in Footer Won't Update on Screen | Microsoft Word Help |