Trouble with Listnum

Y

Yang

I having trouble to view the listnum in the if statement below, can anyone
help?

The Grade is confirm "EX" and I get "Part 1" but "{Listnum}" is not showing.

{If {MERGEFIELD Grade} = “EX†“{Listnum} Part1†“†}

Thanks in advance.
 
G

Graham Mayor

I don't see any way of getting that to work, but as a workaround you might
consider

{ IF{ MERGEFIELD Grade } = "EX" { SET A { =({ A }+1 )}} }{ IF { Mergefield
Grade } = "EX" "{ A }) Part 1" }

At the start of your merge you will need to set the value of A to 0. One way
to do that is with an ASK field thus

{ ASK A A? \d 0 \o }


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Y

Yang

Thanks for the suggestion from Graham.
Actually I resolve the problem by adding space in front of the listnum
and it works now.
 
G

Graham Mayor

Unbelievable! Thanks for the feedback - now I only have to remember that tip
for next time ;)

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

LISTNUM Question 5
LISTNUM with tab positions 3
LISTNUM field 1
LISTNUM number display instable 2
Formatting Listnum field 1
Start LISTNUM at 90 5
Word 2007 - Listnum fields 2
LISTNUM 2

Top