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 / January 2004

Tip: Looking for answers? Try searching our database.

Problem with a mail merge document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
GOU - 17 Jan 2004 02:12 GMT
Hi,

I try to imbricate conditions in a Mail Merge document.
When I write
«{IF {MERGEFIELD Field_1} = True "OK" "{IF {MERGEFIELD
Field_2} = True "OK" "ABORT" }" }»
I have no problem.

And when I write
«{IF {MERGEFIELD Field_1} = True "OK" "Field 2 is {IF
{MERGEFIELD Field_2} = True "OK" "ABORT" }" }»
the Word document can close itself but it's impossible for
me to reopen it.

I find it strange, I tought it used to work ???
Could it be a virus even if I found none with VShield ?
Could it be a problem with my Normal.dot ?

I use Office 97 on a Windows NT OS.

Thanks.
Peter Jamieson - 17 Jan 2004 06:34 GMT
I don't know why you are getting a crash but in any case, AFAIK there are no
circumstances in which the comparison

{ MERGEFIELD Field_1 } = True

will work as you intended, except possibly by chance.

You probably need either

{ MERGEFIELD Field_1 } = 0

or

{ MERGEFIELD Field_1 } = "True"

(and perhaps you would need to switch the true/false result texts around)

depending on what values

{ MERGEFIELD Field_1 }

actually displays on its own.

--
Peter Jamieson - Word MVP
Word MVP web site http://word.mvps.org/

Hi,

I try to imbricate conditions in a Mail Merge document.
When I write
?{IF {MERGEFIELD Field_1} = True "OK" "{IF {MERGEFIELD
Field_2} = True "OK" "ABORT" }" }?
I have no problem.

And when I write
?{IF {MERGEFIELD Field_1} = True "OK" "Field 2 is {IF
{MERGEFIELD Field_2} = True "OK" "ABORT" }" }?
the Word document can close itself but it's impossible for
me to reopen it.

I find it strange, I tought it used to work ???
Could it be a virus even if I found none with VShield ?
Could it be a problem with my Normal.dot ?

I use Office 97 on a Windows NT OS.

Thanks.
 
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.