Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-12-2015, 12:16 PM
SoonerLater SoonerLater is offline IF... THEN... ELSE... rule to insert a Mailmerge Field Windows 7 64bit IF... THEN... ELSE... rule to insert a Mailmerge Field Office 2010 32bit
Novice
IF... THEN... ELSE... rule to insert a Mailmerge Field
 
Join Date: Sep 2015
Posts: 3
SoonerLater is on a distinguished road
Default IF... THEN... ELSE... rule to insert a Mailmerge Field

I need to create a mailmerge with this logic.

IF [mergefield OKtoPublish = "True"]
THEN insert [mergefield PhoneNumber]
ELSE insert ""

The If... Then... Else rule system lets you insert TEXT, not mergefields. However, it is a mergefield that I need to insert.



This thread in the UK Access Programmers Forum states:

Quote:
I'm using Word2003, embedded in the fundraising database Raiser's Edge (I know, I know - ::shudders:.

I am trying to formulate a field (I tried with a Word If...then...else field but I couldn't get it to work) that would conditionally insert a mail merge field (email address) if one of the other address fields was blank.

The problem is that the Word field if...then...else seems to only support plain text insertions. I tried editing the 'then' portion of the field after insertion with { MERGEFIELD email_address } in various forms, but I couldn't get it to work.
Quote:
Found your post while having similar issues. I found a workaround that works great for me. Just run the "If...Then...Else" wizard and put everything you want in it except the { MERGEFIELD email_address } part (use placeholder text in the "Insert this text" box to make it easy to find )

Then show the sourcecode in the word document (Alt+F9)

Then insert the { MERGEFIELD email_address } field using the typical method of clicking on "Insert Field" on the ribbon.

I couldn't find a difference between my manual coding and the coding MSWord made, but theirs worked ?!?!?!?! So give it a try and see if it helps.
After a lot of Googling, this above quotes were all I could find.

I've tried (I think) to implement the suggested solution, but I'll be darned if I can make it work.

Any suggestions?
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
IF... THEN... ELSE... rule to insert a Mailmerge Field Using IncludePicture and MailMerge to insert picture Elena Mail Merge 25 02-06-2022 05:35 PM
Removing Return from Address field in Mailmerge Formd Mail Merge 2 04-27-2015 10:07 PM
Mailmerge field format? Rothera85 Mail Merge 9 05-11-2014 03:41 PM
IF... THEN... ELSE... rule to insert a Mailmerge Field Mailmerge printing with field names Jvallee Mail Merge 9 04-16-2014 06:30 PM
IF... THEN... ELSE... rule to insert a Mailmerge Field Yes/No field does not work in mailmerge Abacus1234 Mail Merge 10 10-14-2013 06:37 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:25 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft