InfoPath 2003 - Multiple SwitchView

J

JTMSDN

Does anyone know how to execute SwitchView multiple times within a single
method in C#?

It works fine in 2007 but fails in 2003 if I try and switch Views more than
once.
 
J

JTMSDN

OK It looks like it doesnt work in 2007 either, what is going on here? I have
SwitchView inside a loop of all of the views in order to automate printing of
the various Views. Once it gets passed the second view it dies saying that
the View is not ready. More specifically:

InfoPath cannot execute any view-related object model calls. The view is not
ready.

Looking online it claims you are not allowed to switch views more than once?
That would be ridiculus!

Anyone?
 
Top