How can I switch and/or assign a view based on a field value? - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

How can I switch and/or assign a view based on a field value?

Last post 11-25-2011 12:55 PM by Ramon84. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 11-24-2011 04:39 PM

    How can I switch and/or assign a view based on a field value?

    Hi, I have a browser form with two views. The first one is for the “initiator”; the person who fills the form and the second one is for the approver. The form has mechanism to determine who is the filler and who is the approver (his manager). What I want to do? I want to assign the second view based on the manager field from the first view. How can I do that? How can I do that? When the approver opens the form switches to his view. I don’t want to use user roles. By the way, I am using MOSS 2007 SP2 and MS InfoPath 2010. Thanks in advanced.
  • 11-24-2011 08:45 PM In reply to

    Re: How can I switch and/or assign a view based on a field value?

    Could you clarify what you mean by "assign the second view"?

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 11-25-2011 02:03 AM In reply to

    Re: How can I switch and/or assign a view based on a field value?

    Thanks for replying. I want to take the manager field value, which is a variable based on the current user, and switch the view based on that. In other words, when the manager opens the form to approve it; he will see the second view. How can I do that? Thanks!
  • 11-25-2011 07:04 AM In reply to

    Re: How can I switch and/or assign a view based on a field value?

    You can simply create a Form Load rule to change the view accordingly.  In IP2003/07, the form load rules can be accessed in the Form Options.  In 2010, they're on the Data tab.

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 11-25-2011 12:55 PM In reply to

    Re: How can I switch and/or assign a view based on a field value?

    Thank you very much!

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