I have an IP 2003 form with C# code. I would like to add a button that will open up a new form in a different view.
I am using the following code:
XDocument NewForm = thisApplication.XDocuments.NewFromSolution(@"C:\Users\Lawson\Desktop\Switch View.xsn");
thisXDocument.View.SwitchView("View 2");
This code opens a new form, but it doesn't change the view in the new form.
Does anybody have any suggestions?