using field value to represent views - InfoPath Dev
in

InfoPath Dev

using field value to represent views

Last post 08-24-2008 11:53 PM by Shiva. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-18-2008 02:08 AM

    using field value to represent views

    Hi.İ want to use field value to represent views.For example field1=view1 field2=view2 .is it possible?

  • 08-24-2008 11:53 PM In reply to

    • Shiva
    • Top 25 Contributor
    • Joined on 04-15-2005
    • India
    • Posts 694

    Re: using field value to represent views

    Hello,

    We can't do the directly assigning the view name as field contains value in InfoPath. While creating the view we have to give the view name and if we want to change the view name then we have to modify it in design mode only.

    We can shift the view based on field value using code.

    XDocument.View.SwitchView("View Name");

    In above line you can assign the value of field1 or field2 depends on your requirement.

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