Use document property as condition in IF field?
I need to use IF fields that can toggle values between two values of the "Company" document property. I tried to do it using Quick Parts > Field > IF, and coded it to look like an example that used MERGEFIELD; I put DOCPROPERTY in the same position. It didn't work, but here's how it looks when I show the field coding:
{IF {DOCPROPERTY Company} = "Acme" "Star" "Meteor" \*MERGEFORMAT}
The function should result in the brand "Star" if the company is Acme. If not, the brand is "Meteor". The result is currently:
Company}
Can someone explain how to use a docproperty in the IF field?
|