Is there a limit on nested IF statements in WORD 2003?

A

Art McMahon

I am doing a mail merge that can have 46 If, then, else statements.
It seems that after record 20 I start getting "fields nested too deeply".
That does not happen to me at one site where I work but does at another site.
The one where it works I am running windows XP, office 2003 (no service pack)
At the site where it fails I am running windows XP, office 2003 service pack
1.
Anyone ever hear of such a thing?

Thanks,
Art McMahon
Drexel University
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?QXJ0IE1jTWFob24=?=,

19 nested layers is, indeed, the official limit and has been since WinWord was
created. If it's not happening somewhere, I'd consider that to be a bug.

Often, you can use a series of IF fields one next to the other to get around
this limitation. Just have the last "false" entry in a preceding set be an
empty string: "" then no one will know that set of IF fields is even there.
I am doing a mail merge that can have 46 If, then, else statements.
It seems that after record 20 I start getting "fields nested too deeply".
That does not happen to me at one site where I work but does at another site.
The one where it works I am running windows XP, office 2003 (no service pack)
At the site where it fails I am running windows XP, office 2003 service pack
1.
Anyone ever hear of such a thing?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 

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

Top