Calculation on a field code

  • Follow


I have a field code that returns a month name, like April.  I was to also 
display in my document just the first 3 characters of the field code, or in 
this case, APR.  Can I do that without creating a second field code?
0
Reply Utf 4/14/2010 7:40:01 PM

It depends on what type of field code your field is, but let's suppose 
it's a REF field. Then one approach is to use a nested field like this:

{ QUOTE "{ REF myfield } 2010" \@MMM }

(where each pair of {} are the "special field braces" that you can 
insert using ctrl-F9).

Peter Jamieson

http://tips.pjmsn.me.uk

On 14/04/2010 20:40, Mike H. wrote:
> I have a field code that returns a month name, like April.  I was to also
> display in my document just the first 3 characters of the field code, or in
> this case, APR.  Can I do that without creating a second field code?
0
Reply Peter 4/14/2010 8:41:37 PM


1 Replies
431 Views

(page loaded in 1.553 seconds)


Reply: