Reading the name of the current view - InfoPath Dev Sign in | Join | Help in Code 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 » Code » Reading the name of the current view Reading the name of the current view Last post 08-20-2010 03:22 AM by alexia_net. 2 replies. Page 1 of 1 (3 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 08-05-2010 03:57 AM alexia_net Joined on 03-29-2010 Posts 119 Reading the name of the current view Reply Contact Hi. I am using a InfoPath which has multiple views and i need to run several functions in the LOADING event of this form for every view inside this form. I need a way to identify the current view name. How can this be done? Thank you. 08-05-2010 05:40 AM In reply to Potemkine Joined on 06-21-2010 Posts 451 Re: Reading the name of the current view Mark as Not AnswerMark as Answer... Reply Contact Hi alexia, to have the current view name you can use this code (C# 2003):thisXDocument.View.Name 08-20-2010 03:22 AM In reply to alexia_net Joined on 03-29-2010 Posts 119 Re: Reading the name of the current view Mark as Not AnswerMark as Answer... Reply Contact Thank you. Page 1 of 1 (3 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Hi. I am using a InfoPath which has multiple views and i need to run several functions in the LOADING event of this form for every view inside this form. I need a way to identify the current view name. How can this be done? Thank you.
Hi alexia, to have the current view name you can use this code (C# 2003):thisXDocument.View.Name
Thank you.