#1
|
|||
|
|||
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. |
#2
|
||||
|
||||
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] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
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 |
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 |