[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

word mail merge - compare function

Asked by hpet in Microsoft Word

I honestly don't know why compare function is not working.
I am trying exactly the same example as on MS site (http://office.microsoft.com/en-us/word/HP051876761033.aspx) ... the one with multiple conditions. I replaced merged fields with mine.

I pay attention so have curly brackets as commands (ctrl + f9).
If I try different example, skipping AND and COMPARE function, mergefields and such work ok.

I always get syntax error! ...argh. What am I doing wrong? Does compare function need any special installation or something?
1:
{ IF { = AND ( { COMPARE { MERGEFIELD CustomerNumber } >= 4 }, { COMPARE { MERGEFIELD CustomerRating } <= 3 } ) } = 1 "Satisfactory" "Unsatisfactory"}
[+][-]08/24/09 06:04 AM, ID: 25167861Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/24/09 06:07 AM, ID: 25167886Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89 - Hierarchy / EE_QW_3_20080625