Calculation on a field code

  • Thread starter Thread starter Mike H.
  • Start date Start date
M

Mike H.

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?
 
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
 
Back
Top