swtich view on form load - InfoPath Dev Sign in | Join | Help in Browser Forms InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Browser Forms » swtich view on form load 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: Oldest to newest Newest to oldest Previous Next 09-21-2009 10:43 AM vamshikreddy Joined on 08-25-2009 Posts 1 swtich view on form load Reply Contact 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: swtich view 09-25-2009 07:56 AM In reply to Hilary Stoupa Joined on 06-20-2008 Posts 13,296 Re: swtich view on form load Mark as Not AnswerMark as Answer... Reply Contact 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.
Use our Google Custom Search for best site search results.
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.