New Form Different View - InfoPath Dev
in

InfoPath Dev

New Form Different View

Last post 04-12-2010 10:46 AM by Lawson. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 04-12-2010 10:46 AM

    • Lawson
    • Top 100 Contributor
    • Joined on 12-23-2009
    • Virginia
    • Posts 91

    New Form Different View

    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?
Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.