Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-10-2015, 01:22 AM
WillTRiker WillTRiker is offline Breaking up a mergefield into parts Windows 7 64bit Breaking up a mergefield into parts Office 2007
Novice
Breaking up a mergefield into parts
 
Join Date: Jun 2015
Posts: 3
WillTRiker is on a distinguished road
Default Breaking up a mergefield into parts

I've got a mergefield that is actually a combination of 2 fields in our database, but of course what I really need are the seperate versions but those are not available as a mergefield

In essence the mergefield (let's call it <<PAY>>) consists out of <<class>> and <<level>>. In the mergefield <<PAY>> it's denoted as <<class.level>>

To make matters worse it's not a fixed width. Both <<class>> and <<level>> can consist out of 1 digit or 2 with <<class>> also having the possibility of having 2 letters (instead of digits).

In Excel this would have been easy enough, but does anyone know of a way to do it in Word?



While I'm at it, is there somewhere a list of functions you can use on mergefields? Been looking but so far have come up empty.

Any help much appreciated.
Reply With Quote
  #2  
Old 07-10-2015, 01:58 AM
macropod's Avatar
macropod macropod is offline Breaking up a mergefield into parts Windows 7 64bit Breaking up a mergefield into parts 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

Unless the data are purely numeric and there's a logic to the numbering you can express mathematically, there is no way for Word's fields to parse the mergefield output.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Breaking up a mergefield into parts Printing selected pages based on a MERGEFIELD.g. If MERGEFIELD=x then print pages 1,2,4 if MERGEFIEL Richard.p Word 3 04-21-2015 01:14 AM
breaking header hierarchy john_trueblue Word 2 02-19-2013 05:00 AM
Breaking up a mergefield into parts Non-breaking spaces in random emails Tri Outlook 3 02-04-2013 06:35 AM
sequencial numbering keeps breaking tpen3219 Word 4 12-05-2012 07:45 PM
Non-breaking items judicial85 Word 7 02-23-2012 07:12 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:39 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