Here's the problem code in Microsoft Word (2000) template:
{IF {DOCPROPERTY"Custom_val" } < " " "None" DOCPROPERTY"Custom_val"}++" percent"}
Here's what I'm trying to do:
If Custom_val is empty, return "None" otherwise return the value of Custom_val appended with the word "percent"
Here's what I've tried:
I've tried "+", "-", "&", "_", "&&", and "++" so far to concatenate the elements 'Custom_val' and "percent" without success. Word will not recognize any element beyond the first element of the attempted concatenation. This is not a mail merge which would be able to use the built in "IF...Then...Else" function of "add a field".
Can someone please tell me how to do this?
Thanks
{IF {DOCPROPERTY"Custom_val" } < " " "None" DOCPROPERTY"Custom_val"}++" percent"}
Here's what I'm trying to do:
If Custom_val is empty, return "None" otherwise return the value of Custom_val appended with the word "percent"
Here's what I've tried:
I've tried "+", "-", "&", "_", "&&", and "++" so far to concatenate the elements 'Custom_val' and "percent" without success. Word will not recognize any element beyond the first element of the attempted concatenation. This is not a mail merge which would be able to use the built in "IF...Then...Else" function of "add a field".
Can someone please tell me how to do this?
Thanks