I am trying to change views twice. The first change view occurs at when the user clicks on a print button. The view switches to the particular print view and then through jscript(using.PrintOut()) the form prints. Then I try to change the view in the script using the .SwitchView('''') and I get an error: InfoPath cannot execute any view-related ...