swtich view on form load - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

swtich view on form load

Last post 09-25-2009 07:56 AM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-21-2009 10:43 AM

    swtich view on form load

    Hi, I have a Info path form 2007(browser enabled) with 10 views. I will pass the view name as parameter to the infopath form. When i open the form in browser, want to switch the view based on the passed parameter(view name).. from view 1(default). How can i do that. Please help me..
    Filed under:
  • 09-25-2009 07:56 AM In reply to

    Re: swtich view on form load

    Hi:

    Check here for samples and directions on using input parameters. After you have the string variable for your parameter, you should be able to use (C#)

    this.ViewInfos.SwitchView(stringvariable);

    to switch to the view passed in by your parameter.

    Hilary Stoupa

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.