Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 01-08-2018, 04:36 PM
ghampton ghampton is offline Word 2013 mail merge directory conditional printing city if value changes Windows 7 64bit Word 2013 mail merge directory conditional printing city if value changes Office 2013
Novice
Word 2013 mail merge directory conditional printing city if value changes
 
Join Date: Jan 2018
Posts: 4
ghampton is on a distinguished road
Default

I guess I need to be more specific. I am only after one thing. I have this in a word booklet docx (properly formatted, of course) with a SQL Server data source, which works just fine for quite a few pages.

DIRECTORY

Company Address Atascosa, TX zip
Company 2 Address Atascosa, TX zip
Company 3 Address San Antonio, TX zip
Company 4 Address San Antonio, TX zip
Company 5 Address San Antonio, TX zip
Company 6 Address San Antonio, TX zip
.
.
.
.
.
Company 727 Address Von Ormy, TX zip

The problem is, that I need to add the city name to the left (as indicated) if it is first time for the city or is different from the previous city.

Here is what the output should look like:
Atascosa
Company Address Atascosa, TX zip
Company 2 Address Atascosa, TX zip
San Antonio
Company 3 Address San Antonio, TX zip
Company 4 Address San Antonio, TX zip
Company 5 Address San Antonio, TX zip
Company 6 Address San Antonio, TX zip
Von Ormy
.
.
.
.
.
Company 727 Address Von Ormy, TX zip

I have tried a few iterations but the merge came out incomplete or gave different results. Which is based on your tutorial. I guess the other items you have in it, along with the different naming conventions and other problems you addressed just doesn't address this simple item.

I forgot to mention that I am a programmer, asp and .net, formerly cobol, natural 2, jcl. But WordMerge (What is the language?) is a little confusing for me, primarily because I don't understand the syntax.

If you could answer my question here, it will really help with the rest of it. I just need to understand the syntax as it applies here in this part, leaving out all the rest. Just how to make the City work.

Understanding this part will go a long way to helping me with the rest of it.

Thanks for responding. I hope you will again.
Reply With Quote
 

Tags
directory, mail merge, word 2013



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2013 mail merge directory conditional printing city if value changes Creating a directory merge (Office 2013) blackystrat Word 1 09-10-2016 04:03 AM
Word 2013 mail merge directory conditional printing city if value changes Directory Mail Merge IslandAC Mail Merge 1 09-09-2016 04:53 PM
Word 2013 mail merge directory conditional printing city if value changes Word 2010 - directory mail merge - two separate group of data in one document htsu Mail Merge 2 03-07-2016 03:10 PM
Directory Mail Merge Issues dbpros_crm Mail Merge 10 01-20-2014 11:05 PM
Word 2013 mail merge directory conditional printing city if value changes mail merge treating CITY as DATE woody Mail Merge 6 01-30-2013 03:22 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:34 PM.


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