Redirecting to location in form on button press - InfoPath Dev
in

InfoPath Dev

Redirecting to location in form on button press

Last post 09-17-2009 08:34 AM by nebuk. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 09-14-2009 03:07 AM

    • nebuk
    • Top 500 Contributor
      Male
    • Joined on 09-14-2009
    • UK
    • Posts 28

    Redirecting to location in form on button press

    Hi

    I had a look about the form and couldnt find an answer to this so I hope I am not repeating anyone :)

    I am trying to create a form where if the user should click on a button (comments) at the top of the form it would then set the focus (and thus hopefully move the current position of the form/screen) to lower down the form where they can then enter comments and then click another button to return them to the top section.

    I am working in infopath 2007 and am just having trouble trying to work out where to start with this really as I have tried XPathNavigator within the button click function but believe that I may just be using it wrong :S
    Oh I am working in visual basic but there isnt really a language barrier so a reply in that or c# would be great!

    Cheers for your help

    Ben

  • 09-15-2009 11:22 PM In reply to

    Re: Redirecting to location in form on button press

    Hi Ben,

    You'll want to use SetContext method - requires code. Search for that in the InfoPath 2003 SDK.

    Patrick Halstead
    Project Manager at Qdabra
  • 09-17-2009 08:34 AM In reply to

    • nebuk
    • Top 500 Contributor
      Male
    • Joined on 09-14-2009
    • UK
    • Posts 28

    Re: Redirecting to location in form on button press

    Worked a treat many thanks for the help!!!!

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