View Single Post
  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Graham is offline
external usenet poster
 
Posts: 37
Default Length of text in a field

Thanks. Nice workaround.


"macropod" wrote:

Hi Graham,

Try:
{IF{long_description}= "?????????????????????????????????????????*"
{long_description} {short_description}}

Cheers

--
macropod
[MVP - Microsoft Word]


"Graham" wrote in message
...
| How do I determine the length (or number of characters) of a field?
|
| I want to use something like:
|
| { IF { = LENGTH( { long_description } ) } 40
| { short_description } { long_description } }
|
| except that there doesn't seem to be a LENGTH function.
|
| Or I want to be able to use { NUMCHARS } for a small part of text, not the
| complete document.
|
| Is there a function? Or a workaround?
|
| Thanks