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?
 

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