How do I create a button to switch views? - InfoPath Dev
in

InfoPath Dev

How do I create a button to switch views?

Last post 03-16-2009 06:58 AM by jim_r. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-16-2009 05:57 AM

    • jim_r
    • Not Ranked
    • Joined on 03-09-2009
    • Posts 6

    How do I create a button to switch views?

    I have a form with several views - Data Entry, start up, etc.  I want to create several buttons (A, B, C, D) in the "Start Up" view that, when selected, will take the user to the Data Entry view.  In the data entry view, I have several fields in sections.  I also want some of these sections hidden depending on which button is chosen in the Start up view.  I looked in the InfoPath help - not helpful.  I know how to hide/show sections within a specific view based on a user's action or data in a field.

     Can I do this using standard tools in InfoPath 2007, or do I need to create custom code to do it?

     Thanks,

    Jim

  • 03-16-2009 06:21 AM In reply to

    • Anuma
    • Top 25 Contributor
      Female
    • Joined on 07-20-2005
    • India
    • Posts 525

    Re: How do I create a button to switch views?

    Hi,

     

    Can you follow the below steps to switch view on button click.

    1. Double click on the button.
    2. Clink on Rules and Click on Add button.
    3. Click on Add Action button.
    4. Select “Switch Views” from Action dropdown.
    5. Select view name in the “View” dropdown.
    6. Click on ok.
     
    Anuma Chinthapalli /
    http://www.GGKTech.com
  • 03-16-2009 06:58 AM In reply to

    • jim_r
    • Not Ranked
    • Joined on 03-09-2009
    • Posts 6

    Re: How do I create a button to switch views?

     Thanks Anuma!  That worked perfectly.

     

    Jim

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