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 object model calls. The view is not ready.
I imagine I have forgotten to add something but for the life of me...
Please provide insight to what I need to do to have the view return to the default once the form has printed?
"One Line at a Time" - anonymous codeaholic
Greg McAllister