Hi,

I have a template I am developing which uses the SEQ field to auto number
the paragraphs. However, a number of these paragraphs are within IF fields,
so that if certain conditions are met/not met then they do not get output
into the document when ran.

Unfortunately, the SEQ number (which is also in the IF) is still getting
set. So for example;

IF is true =

1. paragraph one
2. paragraph two
3. paragraph three
4. paragraph four

IF is false =

1. paragraph one
4. paragraph four

What I need to see is (IF false) =

1. paragraph one
2. paragraph four

How can I prevent the SEQ from being set if the IF is false?

Thanks

Re: SEQ numbering within IF fields in Word 2003 by Stefan

Stefan
Thu May 15 06:03:58 PDT 2008


SEQ fields do not seem to work well when nested within conditional fields.

Perhaps you can use AutoText entries for the data and insert the appropriate
AutoText based on the result of the comparison in the IF field?

--
Stefan Blom
Microsoft Word MVP


"Andrew Emmans" wrote in message
news:92F44259-EE6E-45CD-BE4C-8E478E11F3AD@microsoft.com...
> Hi,
>
> I have a template I am developing which uses the SEQ field to auto number
> the paragraphs. However, a number of these paragraphs are within IF
> fields,
> so that if certain conditions are met/not met then they do not get output
> into the document when ran.
>
> Unfortunately, the SEQ number (which is also in the IF) is still getting
> set. So for example;
>
> IF is true =
>
> 1. paragraph one
> 2. paragraph two
> 3. paragraph three
> 4. paragraph four
>
> IF is false =
>
> 1. paragraph one
> 4. paragraph four
>
> What I need to see is (IF false) =
>
> 1. paragraph one
> 2. paragraph four
>
> How can I prevent the SEQ from being set if the IF is false?
>
> Thanks
>
>