Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-11-2013, 02:18 AM
Saikological Saikological is offline Mail merge question Windows 7 64bit Mail merge question Office 2010 64bit
Novice
Mail merge question
 
Join Date: Jan 2013
Posts: 1
Saikological is on a distinguished road
Default Mail merge question

Hi all,

Im new to this forum and i hope this is the right place to post my question.



I'm making a mail merge, but for some reason, things just wont work to my satisfaction.

The idea is to link it to CRM and filter for a temporary address. If one is set to yes, then the home address has to be used, otherwise address from company.
This does work, but i dont get the country to fill in correctly.
I dont want it to display a country when the country is NETHERLANDS, but otherwise it must fill in the country.

Please help me out by checking the whole merge below. It is with Dutch fields, so i hope you can understand.

Any help is much appreciated cuz im kind of stuck here.

Thanks!

Reply With Quote
  #2  
Old 01-29-2013, 07:16 PM
macropod's Avatar
macropod macropod is online now Mail merge question Windows 7 64bit Mail merge question Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Saikological,

With the code you're using, the country will always be output, because you have a field code to do so that precedes the corresponding IF test.

Analysing your field coding is made difficult by the fact you've simply posted a picture of it, rather than attaching a document containing it. That said, it appears your field code is unnecessarily complicated, with multiple tests of the same condition that could be combined. Some tests too, would appear to be superfluous, as the same results can be achieved using the mergefield /b or /f switch.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Merge Duplication of address on merge RICKY Mail Merge 1 09-26-2012 03:14 PM
Mail merge question Conditional merge fields in mail merge Aude Mail Merge 1 01-06-2012 07:38 PM
Mail Merge Question Songbird4411 Word 0 10-14-2011 08:23 AM
Mail Merge Question DavidW Word 0 08-25-2010 01:47 PM
Mail Merge question: Using fields connected to a CSV file in Word 2007 Mr_Luke Mail Merge 0 06-18-2010 10:11 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:16 AM.


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