LISTNUM

D

dkk

In Word 2002, below are two field codes. The result of
the second code is "1." although it should be "2." Can
anyone explain this?

{IF 2+2 = 4 "{LISTNUM NumberDefault\l 7\s 1}" " "b" \*
MERGEFORMAT}

{IF 2+2 = 4 "{LISTNUM}" " "b" \* MERGEFORMAT}


Thanks
 
K

Klaus Linke

Hi dkk,

ListNum fields are updated automatically. Probably there is no way to
update them if they are inside fields.

In Word2000, I get nothing (not even "1.") for the second expression.
So even if you don't get the result you wanted, your code shows how you can
repeat the previous number in Word2002 ;-)

Can't think of a way to achieve the result you wanted, though :-(

Regards,
Klaus
 
Top